summaryrefslogtreecommitdiff
path: root/gnu/packages/patches/glibc-2.41-ldd-x86_64.patch
diff options
context:
space:
mode:
authorZheng Junjie <z572@z572.online>2025-02-06 23:59:21 +0800
committerAndreas Enge <andreas@enge.fr>2025-07-18 20:17:28 +0200
commit3ac9be2a5c1efa8fc994305232b00962e33d2dfb (patch)
treed55b949e19440872e8e4d16e39aa1cf48eb80a2b /gnu/packages/patches/glibc-2.41-ldd-x86_64.patch
parent700529a4e148a9db8f799e7818540d7732e66542 (diff)
gnu: glibc: update to 2.41.
* gnu/packages/base.scm (glibc): Update to 2.41. (%glibc-patches): update it. (glibc/hurd)[sources]<patches>: Adjust it. * gnu/packages/patches/glibc-2.37-hurd-local-clock_gettime_MONOTONIC.patch: Rename to... glibc-2.41-hurd-local-clock_gettime_MONOTONIC.patch: ...this, and update. * gnu/packages/patches/glibc-2.28-ldd-x86_64.patch: Rename to ... * glibc-2.41-ldd-x86_64.patch: ...this, and update. * gnu/packages/patches/glibc-2.40-CVE-2025-0.patch, gnu/packages/patches/glibc-hurd64-fault.patch, gnu/packages/patches/glibc-hurd64-sgms-context.patch: Remove. * gnu/local.mk (dist_patch_DATA): Update accordingly. * gnu/packages/patches/glibc-2.41-hurd-local-clock_gettime_MONOTONIC.patch: Update for glibc-2.41. * gnu/packages/make-bootstrap.scm (glibc-for-bootstrap): Update it. * gnu/packages/patches/glibc-2.39-bootstrap-system.patch: Rename to... * glibc-2.41-bootstrap-system.patch: ...this, and update. * gnu/local.mk (dist_patch_DATA): Update accordingly. Change-Id: I51c12e3e8fa91dac340571e07a90d6220e0dc6ae
Diffstat (limited to 'gnu/packages/patches/glibc-2.41-ldd-x86_64.patch')
-rw-r--r--gnu/packages/patches/glibc-2.41-ldd-x86_64.patch8
1 files changed, 8 insertions, 0 deletions
diff --git a/gnu/packages/patches/glibc-2.41-ldd-x86_64.patch b/gnu/packages/patches/glibc-2.41-ldd-x86_64.patch
new file mode 100644
index 0000000000..e5e7220ab1
--- /dev/null
+++ b/gnu/packages/patches/glibc-2.41-ldd-x86_64.patch
@@ -0,0 +1,8 @@
+By default, 'RTDLLIST' in 'ldd' refers to 'lib64/ld-linux-x86-64.so', whereas
+it's in 'lib/' for us. This patch fixes that.
+
+--- glibc-2.38/sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed
++++ glibc-2.38/sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed
+@@ -1,1 +1,1 @@
+-s_^\(RTLDLIST=\)\(.*lib\)\(\|64\|x32\)\(/[^/]*\)\(-x86-64\|-x32\)\(\.so\.[0-9.]*\)[ ]*$_\1"\264\4-x86-64\6 \2\4\6 \2x32\4-x32\6"_
++s_^\(RTLDLIST=\)\(.*lib\)\(\|64\|x32\)\(/[^/]*\)\(-x86-64\|-x32\)\(\.so\.[0-9.]*\)[ ]*$_\1"\2\4-x86-64\6 \2\4\6 \2x32\4-x32\6"_