diff options
author | Hans-Christian Noren Egtvedt <hegtvedt@cisco.com> | 2022-02-03 21:10:41 (GMT) |
---|---|---|
committer | Chris Packham <judge.packham@gmail.com> | 2022-02-09 07:56:28 (GMT) |
commit | c206f2fc3e7bc6819dfbb99f271ab08aa8f4301d (patch) | |
tree | bf823bf6c2d53c183208a8d239597b7f0d82c9e1 /packages/glibc/2.35/0002-linux-Fix-missing-__convert_scm_timestamps-BZ-28860.patch | |
parent | 803f9b84f6ab4aa10f39139fb35add4de8e42455 (diff) |
packages/glibc: add glibc version 2.35
Copied patches from glibc version 2.34, they still apply clean and I
assume they still are relevant.
Signed-off-by: Hans-Christian Noren Egtvedt <hegtvedt@cisco.com>
[cp add __convert_scm_timestamps patch]
Signed-off-by: Chris Packham <judge.packham@gmail.com>
Diffstat (limited to 'packages/glibc/2.35/0002-linux-Fix-missing-__convert_scm_timestamps-BZ-28860.patch')
-rw-r--r-- | packages/glibc/2.35/0002-linux-Fix-missing-__convert_scm_timestamps-BZ-28860.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/packages/glibc/2.35/0002-linux-Fix-missing-__convert_scm_timestamps-BZ-28860.patch b/packages/glibc/2.35/0002-linux-Fix-missing-__convert_scm_timestamps-BZ-28860.patch new file mode 100644 index 0000000..30cd1c4 --- /dev/null +++ b/packages/glibc/2.35/0002-linux-Fix-missing-__convert_scm_timestamps-BZ-28860.patch @@ -0,0 +1,34 @@ +From 798d716df71fb23dc89d1d5dba1fc26a1b5c0024 Mon Sep 17 00:00:00 2001 +From: Adhemerval Zanella <adhemerval.zanella@linaro.org> +Date: Thu, 3 Feb 2022 16:52:52 -0300 +Subject: [PATCH] linux: Fix missing __convert_scm_timestamps (BZ #28860) + +Commit 948ce73b31 made recvmsg/recvmmsg to always call +__convert_scm_timestamps for 64 bit time_t symbol, so adjust it to +always build it for __TIMESIZE != 64. + +It fixes build for architecture with 32 bit time_t support when +configured with minimum kernel of 5.1. +--- + sysdeps/unix/sysv/linux/convert_scm_timestamps.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/sysdeps/unix/sysv/linux/convert_scm_timestamps.c b/sysdeps/unix/sysv/linux/convert_scm_timestamps.c +index 82171bf325..dfc8c2beff 100644 +--- a/sysdeps/unix/sysv/linux/convert_scm_timestamps.c ++++ b/sysdeps/unix/sysv/linux/convert_scm_timestamps.c +@@ -16,9 +16,9 @@ + License along with the GNU C Library; if not, see + <https://www.gnu.org/licenses/>. */ + +-#include <kernel-features.h> ++#include <bits/timesize.h> + +-#ifndef __ASSUME_TIME64_SYSCALLS ++#if __TIMESIZE != 64 + # include <stdint.h> + # include <string.h> + # include <sys/socket.h> +-- +2.35.1 + |