local-enable-ldconfig
authorGNU Libc Maintainers <debian-glibc@lists.debian.org>
Mon, 25 Aug 2025 19:11:05 +0000 (21:11 +0200)
committerAurelien Jarno <aurel32@debian.org>
Mon, 25 Aug 2025 19:11:05 +0000 (21:11 +0200)
# DP: Description: Enable ldconfig and such on hurd-i386
# DP: Author: Jeff Bailey <jbailey@nisa.net>
# 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

# DP: Description: Enable ldconfig and such on hurd-i386
# DP: Author: Jeff Bailey <jbailey@nisa.net>
# 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

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name local-enable-ldconfig.diff

elf/ldconfig.c
sysdeps/mach/hurd/configure
sysdeps/mach/hurd/configure.ac

index 9394ac6438f6fdcaf25c6924e8d1d749a364d782..dd27ebcefbfe44c7f65e72c379e380877f1baa58 100644 (file)
 
 #define PACKAGE _libc_intl_domainname
 
+#ifndef PATH_MAX
+#define PATH_MAX 1024
+#endif
+
 static const struct
 {
   const char *name;
index 8d0702ad438d1c0a23993d34668bcd6276e85233..22af5c688f7cd7fd484e5567383d127194624256 100644 (file)
@@ -49,3 +49,5 @@ fi
 
 # Hurd has libpthread as a separate library.
 pthread_in_libc=no
+
+use_ldconfig=yes
index 82d085af33701aa27f0177a88b5a8209c1d260f9..72df4f7ffcffa07fcd908f85a3ef8ac660efb16d 100644 (file)
@@ -29,3 +29,5 @@ fi
 
 # Hurd has libpthread as a separate library.
 pthread_in_libc=no
+
+use_ldconfig=yes