aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/patches/glibc-2.38-ldd-x86_64.patch
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2023-12-06 10:43:37 +0100
committerLudovic Courtès <ludo@gnu.org>2024-08-31 10:42:47 +0200
commit9dbba0238210facd04ebc90cec6fc5e1135540fb (patch)
tree754084cffc41f2cb295f75baa66bacde0690d78c /gnu/packages/patches/glibc-2.38-ldd-x86_64.patch
parenta488866c5f9a87b6805c9f31ca3110359ab12722 (diff)
downloadguix-9dbba0238210facd04ebc90cec6fc5e1135540fb.tar.gz
guix-9dbba0238210facd04ebc90cec6fc5e1135540fb.zip
gnu: glibc: Update to 2.38.
* gnu/packages/patches/glibc-2.38-ldd-x86_64.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/base.scm (glibc): Update to 2.38. [source]: Adjust list of patches. [arguments]: Add ‘--enable-crypt’. (glibc-2.35): New variable. Change-Id: I040b724c47d2ee5f90f2deb03a4828e79d1bfc4e
Diffstat (limited to 'gnu/packages/patches/glibc-2.38-ldd-x86_64.patch')
-rw-r--r--gnu/packages/patches/glibc-2.38-ldd-x86_64.patch8
1 files changed, 8 insertions, 0 deletions
diff --git a/gnu/packages/patches/glibc-2.38-ldd-x86_64.patch b/gnu/packages/patches/glibc-2.38-ldd-x86_64.patch
new file mode 100644
index 0000000000..9db412b5f2
--- /dev/null
+++ b/gnu/packages/patches/glibc-2.38-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 @@
+-s_^\(RTLDLIST=\)\(.*lib\)\(\|64\|x32\)\(/[^/]*\)\(-x86-64\|-x32\)\(\.so\.[0-9.]*\)[ ]*$_\1"\2\4\6 \264\4-x86-64\6 \2x32\4-x32\6"_
++s_^\(RTLDLIST=\)\(.*lib\)\(\|64\|x32\)\(/[^/]*\)\(-x86-64\|-x32\)\(\.so\.[0-9.]*\)[ ]*$_\1"\2\4\6 \2\4-x86-64\6 \2x32\4-x32\6"_