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

commit c4b2ea555f90fd96aebf833f95a4f54ef919d96b
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.
    * gnu/local.mk (dist_patch_DATA): Register it.
    
    Change-Id: Icaf66abdaa85809027e38514681cfa2483261166
---
 gnu/local.mk                                   |  1 +
 gnu/packages/base.scm                          |  1 +
 gnu/packages/patches/glibc-hurd-ldconfig.patch | 31 ++++++++++++++++++++++++++
 3 files changed, 33 insertions(+)

diff --git a/gnu/local.mk b/gnu/local.mk
index ceb02127a4c..c59770b10a8 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -1517,6 +1517,7 @@ dist_patch_DATA =                                         
\
   %D%/packages/patches/glibc-hurd-clock_t_centiseconds.patch   \
   %D%/packages/patches/glibc-hurd-getauxval.patch              \
   %D%/packages/patches/glibc-hurd-gettyent.patch               \
+  %D%/packages/patches/glibc-hurd-ldconfig.patch               \
   %D%/packages/patches/glibc-hurd-mach-print.patch             \
   %D%/packages/patches/glibc-hurd-unsupported-ioctls.patch     \
   %D%/packages/patches/glibc-hurd-signal-sa-siginfo.patch      \
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