guix_mirror_bot pushed a commit to branch core-packages-team
in repository guix.

commit f693e248ab7748deef70f81742acb20dfe8134e6
Author: Yelninei <[email protected]>
AuthorDate: Sat Jul 18 07:16:48 2026 +0000

    gnu: glibc: Enable ldconfig on the Hurd.
    
    * gnu/packages/patches/glibc-hurd-ldconfig.patch: New patch.
    * gnu/packages/base.scm (%glibc-patches): Add it.
    
    Signed-off-by: Zheng Junjie <[email protected]>
    Change-Id: Icaf66abdaa85809027e38514681cfa2483261166
---
 gnu/packages/base.scm                          |  1 +
 gnu/packages/patches/glibc-hurd-ldconfig.patch | 31 ++++++++++++++++++++++++++
 2 files changed, 32 insertions(+)

diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm
index 8330bf1ac48..ceb12cc902c 100644
--- a/gnu/packages/base.scm
+++ b/gnu/packages/base.scm
@@ -912,6 +912,7 @@ the store.")
         "glibc-2.41-hurd-local-clock_gettime_MONOTONIC.patch"
         "glibc-2.43-hurd-unimplemented-ioctls.patch"
         "glibc-hurd-unsupported-ioctls.patch"
+        "glibc-hurd-ldconfig.patch"
         "glibc-hurd-mach-print.patch"
         "glibc-hurd-gettyent.patch"
         "glibc-hurd-getauxval.patch"
diff --git a/gnu/packages/patches/glibc-hurd-ldconfig.patch 
b/gnu/packages/patches/glibc-hurd-ldconfig.patch
new file mode 100644
index 00000000000..56b7aa01f3b
--- /dev/null
+++ b/gnu/packages/patches/glibc-hurd-ldconfig.patch
@@ -0,0 +1,31 @@
+Taken from: 
https://salsa.debian.org/glibc-team/glibc/-/blob/sid/debian/patches/hurd-i386/local-enable-ldconfig.diff
+
+# DP: Description: Enable ldconfig and such on hurd-i386
+# DP: Author: Jeff Bailey <[email protected]>
+# DP: Related Bugs: #309489
+# DP: Upstream status: Not submitted
+# DP: Status Details: Upstream disagrees with this patch, but I'm
+# DP: putting it in so that we have expected Debian behaviour on the
+# DP: Hurd.  We should review this when the ELF standard supports runpath.
+# DP: Date: 08 Apr 2003
+  
+---
+ sysdeps/mach/hurd/configure    |    1 +
+ sysdeps/mach/hurd/configure.ac |    2 ++
+ 2 files changed, 3 insertions(+)
+
+--- a/sysdeps/mach/hurd/configure
++++ b/sysdeps/mach/hurd/configure
+@@ -223,3 +223,4 @@
+ # Hurd already provides abort implementation for the loader
+ abort_in_ld=yes
+ 
++use_ldconfig=yes
+--- a/sysdeps/mach/hurd/configure.ac
++++ b/sysdeps/mach/hurd/configure.ac
+@@ -50,3 +50,5 @@
+ pthread_in_libc=no
+ # Hurd already provides abort implementation for the loader
+ abort_in_ld=yes
++
++use_ldconfig=yes

Reply via email to