mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
glibc: update to 2.35
fixes for 2.35 - linux: Fix missing __convert_scm_timestamps (BZ #28860)
This commit is contained in:
parent
185a00db16
commit
b3e6fc48d6
@ -3,8 +3,8 @@
|
|||||||
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
|
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
|
||||||
|
|
||||||
PKG_NAME="glibc"
|
PKG_NAME="glibc"
|
||||||
PKG_VERSION="2.34"
|
PKG_VERSION="2.35"
|
||||||
PKG_SHA256="44d26a1fe20b8853a48f470ead01e4279e869ac149b195dda4e44a195d981ab2"
|
PKG_SHA256="5123732f6b67ccd319305efd399971d58592122bcc2a6518a1bd2510dd0cf52e"
|
||||||
PKG_LICENSE="GPL"
|
PKG_LICENSE="GPL"
|
||||||
PKG_SITE="https://www.gnu.org/software/libc/"
|
PKG_SITE="https://www.gnu.org/software/libc/"
|
||||||
PKG_URL="https://ftp.gnu.org/pub/gnu/glibc/${PKG_NAME}-${PKG_VERSION}.tar.xz"
|
PKG_URL="https://ftp.gnu.org/pub/gnu/glibc/${PKG_NAME}-${PKG_VERSION}.tar.xz"
|
||||||
|
@ -0,0 +1,31 @@
|
|||||||
|
From patchwork Thu Feb 3 20:07:40 2022
|
||||||
|
Subject: [COMMITTED] linux: Fix missing __convert_scm_timestamps (BZ #28860)
|
||||||
|
Date: Thu, 3 Feb 2022 17:07:40 -0300
|
||||||
|
From: Adhemerval Zanella <adhemerval.zanella@linaro.org>
|
||||||
|
|
||||||
|
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>
|
@ -66,7 +66,7 @@ Date: Tue Oct 1 12:09:07 2013 +0300
|
|||||||
+ || req->ai_family == AF_UNSPEC)
|
+ || req->ai_family == AF_UNSPEC)
|
||||||
+ && suppress_af != AF_INET6)
|
+ && suppress_af != AF_INET6)
|
||||||
{
|
{
|
||||||
gethosts (AF_INET6, struct in6_addr);
|
gethosts (AF_INET6);
|
||||||
no_inet6_data = no_data;
|
no_inet6_data = no_data;
|
||||||
inet6_status = status;
|
inet6_status = status;
|
||||||
}
|
}
|
||||||
@ -86,7 +86,7 @@ Date: Tue Oct 1 12:09:07 2013 +0300
|
|||||||
+ && ((req->ai_flags & AI_ALL) || !got_ipv6)))
|
+ && ((req->ai_flags & AI_ALL) || !got_ipv6)))
|
||||||
+ && suppress_af != AF_INET)
|
+ && suppress_af != AF_INET)
|
||||||
{
|
{
|
||||||
gethosts (AF_INET, struct in_addr);
|
gethosts (AF_INET);
|
||||||
|
|
||||||
--- a/sysdeps/unix/sysv/linux/check_pf.c
|
--- a/sysdeps/unix/sysv/linux/check_pf.c
|
||||||
+++ b/sysdeps/unix/sysv/linux/check_pf.c
|
+++ b/sysdeps/unix/sysv/linux/check_pf.c
|
||||||
|
Loading…
x
Reference in New Issue
Block a user