From: GNU Libc Maintainers Date: Sun, 10 Jul 2022 20:29:34 +0000 (+0100) Subject: local-enable-ldconfig X-Git-Tag: archive/raspbian/2.33-8+rpi1^2~71 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=ebbb27c0c850fa80130bd474c8cfd1c6724bbfd9;p=glibc.git local-enable-ldconfig # DP: Description: Enable ldconfig and such on hurd-i386 # DP: Author: Jeff Bailey # 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 # 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 --- diff --git a/elf/ldconfig.c b/elf/ldconfig.c index 28ed637a2..1f3541a94 100644 --- a/elf/ldconfig.c +++ b/elf/ldconfig.c @@ -65,6 +65,10 @@ #define PACKAGE _libc_intl_domainname +#ifndef PATH_MAX +#define PATH_MAX 1024 +#endif + static const struct { const char *name; diff --git a/sysdeps/mach/hurd/configure b/sysdeps/mach/hurd/configure index 537f23507..f00f009eb 100644 --- a/sysdeps/mach/hurd/configure +++ b/sysdeps/mach/hurd/configure @@ -45,3 +45,5 @@ fi if test -n "$sysheaders"; then CPPFLAGS=$OLD_CPPFLAGS fi + +use_ldconfig=yes diff --git a/sysdeps/mach/hurd/configure.ac b/sysdeps/mach/hurd/configure.ac index eab0e5b6c..902f6981a 100644 --- a/sysdeps/mach/hurd/configure.ac +++ b/sysdeps/mach/hurd/configure.ac @@ -26,3 +26,5 @@ fi if test -n "$sysheaders"; then CPPFLAGS=$OLD_CPPFLAGS fi + +use_ldconfig=yes