package/{glibc, localedef}: bump to version 2.41

Release notes:
https://lists.gnu.org/archive/html/info-gnu/2025-01/msg00014.html

The only thing that required a small change is our
0003-HACK-keep-_ISOC23_SOURCE-undefined-to-build-localede.patch to
continue to fix the build issue it aims at fixing, by taking into
account changes in glibc 2.41.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Thomas Petazzoni
2025-02-04 12:28:26 +01:00
committed by Peter Korsgaard
parent 4b133efbd3
commit 6ecab31fad
6 changed files with 22 additions and 19 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
# Locally calculated (fetched from Github)
sha256 6426766187d177412e7f3daed793dec93fce417db5ae99296c0d880aa808091e glibc-2.40-18-g5641780762723156b0d20a0b9f7df1d76831bab0.tar.gz
sha256 ed2cd1f058f22f682e700c5be408975db62025a14863a5a6700ee93d5927504e glibc-2.41-5-gcb7f20653724029be89224ed3a35d627cc5b4163.tar.gz
# Hashes for license files
sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING
+2 -1
View File
@@ -7,7 +7,8 @@
# Generate version string using:
# git describe --match 'glibc-*' --abbrev=40 origin/release/MAJOR.MINOR/master | cut -d '-' -f 2-
# When updating the version, please also update localedef
GLIBC_VERSION = 2.40-18-g5641780762723156b0d20a0b9f7df1d76831bab0
GLIBC_VERSION = 2.41-5-gcb7f20653724029be89224ed3a35d627cc5b4163
# Upstream doesn't officially provide an https download link.
# There is one (https://sourceware.org/git/glibc.git) but it's not reliable,
# sometimes the connection times out. So use an unofficial github mirror.
@@ -1,4 +1,4 @@
From 03b1573ca341f1852ac05a884a68ed375cceccc0 Mon Sep 17 00:00:00 2001
From b90ae9abee7e5cc3a92b053f00db959c853a745e Mon Sep 17 00:00:00 2001
From: Michael Olbrich <m.olbrich@pengutronix.de>
Date: Mon, 21 May 2018 16:45:02 +0200
Subject: [PATCH] HACK: only build and install localedef
@@ -17,10 +17,10 @@ Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2 files changed, 10 insertions(+), 7 deletions(-)
diff --git a/Rules b/Rules
index 9010c5d5b2..f5e5525061 100644
index c8adc00008..4acf69790f 100644
--- a/Rules
+++ b/Rules
@@ -223,10 +223,16 @@ binaries-shared-notests = $(filter-out $(binaries-pie) $(binaries-static), \
@@ -234,10 +234,16 @@ binaries-shared-notests = $(filter-out $(binaries-pie) $(binaries-static), \
$(binaries-all-notests))
ifneq "$(strip $(binaries-shared-notests))" ""
@@ -42,7 +42,7 @@ index 9010c5d5b2..f5e5525061 100644
ifneq "$(strip $(binaries-shared-tests))" ""
diff --git a/locale/Makefile b/locale/Makefile
index 2810f28605..6b4cc9e831 100644
index 9d9c1a7691..4d26032c15 100644
--- a/locale/Makefile
+++ b/locale/Makefile
@@ -76,7 +76,6 @@ aux = \
@@ -70,5 +70,5 @@ index 2810f28605..6b4cc9e831 100644
libBrokenLocale-routines = broken_cur_max
--
2.45.2
2.48.1
@@ -1,4 +1,4 @@
From 1ddee6fdcde6b12df22619380d51b47e6c8f2c08 Mon Sep 17 00:00:00 2001
From df211e396f3a2183eed33dc3ac05ecea6bc16f0a Mon Sep 17 00:00:00 2001
From: Matt Weber <matthew.weber@rockwellcollins.com>
Date: Thu, 6 Feb 2020 14:36:21 -0600
Subject: [PATCH] relax dependency on GCC to 4.8 and binutils to 2.24
@@ -35,10 +35,10 @@ Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure b/configure
index 1d543548cd..3e13c46b2e 100755
index eb8abd0054..24abd55594 100755
--- a/configure
+++ b/configure
@@ -5302,7 +5302,7 @@ printf %s "checking version of $LD... " >&6; }
@@ -5329,7 +5329,7 @@ printf %s "checking version of $LD... " >&6; }
ac_prog_version=`$LD --version 2>&1 | sed -n 's/^.*GNU ld.* \([0-9][0-9]*\.[0-9.]*\).*$/\1/p'`
case $ac_prog_version in
'') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
@@ -47,7 +47,7 @@ index 1d543548cd..3e13c46b2e 100755
ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
*) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
@@ -5750,7 +5750,7 @@ int
@@ -5777,7 +5777,7 @@ int
main (void)
{
@@ -57,5 +57,5 @@ index 1d543548cd..3e13c46b2e 100755
#endif
;
--
2.45.2
2.48.1
@@ -1,4 +1,4 @@
From efc989e7e5dcbc38ccc32634e49cfc2881c5a318 Mon Sep 17 00:00:00 2001
From 7f52329793c88260260631593c9bc558b7eb01f8 Mon Sep 17 00:00:00 2001
From: Romain Naour <romain.naour@gmail.com>
Date: Sat, 9 Sep 2023 23:58:50 +0200
Subject: [PATCH] HACK: keep _ISOC23_SOURCE undefined to build localedef with
@@ -15,21 +15,23 @@ Signed-off-by: Romain Naour <romain.naour@gmail.com>
to _ISOC23_SOURCE]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
---
include/features.h | 1 -
1 file changed, 1 deletion(-)
include/features.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/include/features.h b/include/features.h
index 093de6f44c..8d9ca6e402 100644
index 44bc4bbc85..c856368a71 100644
--- a/include/features.h
+++ b/include/features.h
@@ -215,7 +215,6 @@
@@ -217,9 +217,7 @@
# undef _ISOC11_SOURCE
# define _ISOC11_SOURCE 1
# undef _ISOC23_SOURCE
-# define _ISOC23_SOURCE 1
# undef _ISOC2Y_SOURCE
-# define _ISOC2Y_SOURCE 1
# undef _POSIX_SOURCE
# define _POSIX_SOURCE 1
# undef _POSIX_C_SOURCE
--
2.45.2
2.48.1
+1 -1
View File
@@ -7,7 +7,7 @@
# Use the same VERSION and SITE as target glibc
# As in glibc.mk, generate version string using:
# git describe --match 'glibc-*' --abbrev=40 origin/release/MAJOR.MINOR/master | cut -d '-' -f 2-
LOCALEDEF_VERSION = 2.40-18-g5641780762723156b0d20a0b9f7df1d76831bab0
LOCALEDEF_VERSION = 2.41-5-gcb7f20653724029be89224ed3a35d627cc5b4163
LOCALEDEF_SOURCE = glibc-$(LOCALEDEF_VERSION).tar.gz
LOCALEDEF_SITE = $(call github,bminor,glibc,$(LOCALEDEF_VERSION))
HOST_LOCALEDEF_DL_SUBDIR = glibc