local-enable-ldconfig
authorGNU Libc Maintainers <debian-glibc@lists.debian.org>
Thu, 15 Feb 2024 22:29:51 +0000 (22:29 +0000)
committerRaspbian forward porter <root@raspbian.org>
Thu, 15 Feb 2024 22:29:51 +0000 (22:29 +0000)
# 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 681ed7849629abc366a23db3a3d232989258f87c..03a8d5033253cf0386095a7e343fafe16095ffc0 100644 (file)
 
 #define PACKAGE _libc_intl_domainname
 
+#ifndef PATH_MAX
+#define PATH_MAX 1024
+#endif
+
 static const struct
 {
   const char *name;
index 66cc0ce3a53ebb42914d0510cadef13c7e98fb57..1bda0c5bedb45c02d854a3215b69feebd794866d 100644 (file)
@@ -47,3 +47,5 @@ if test -n "$sysheaders"; then
 fi
 
 libc_cv_ld_gnu_indirect_function=no
+
+use_ldconfig=yes
index a294dd5ea21cf5cf5d87ae95617f842e8b698a8a..023d50d3013e8081d80754e18586b0994766e88c 100644 (file)
@@ -30,3 +30,5 @@ fi
 dnl ifunc does not work yet for static binaries
 dnl https://www.gnu.org/software/hurd/open_issues/ifunc.html
 libc_cv_ld_gnu_indirect_function=no
+
+use_ldconfig=yes