void-packages/srcpkgs/fakeroot/patches/busybox_compat_force_abslibpath.patch
2018-07-06 20:35:25 +02:00

14 lines
529 B
Diff

- Always force absolute path for LD_PRELOAD.
- Make getopt test work with busybox implementation.
--- scripts/fakeroot.in.orig 2011-12-01 05:00:36.000000000 +0100
+++ scripts/fakeroot.in 2012-02-01 16:04:04.707499043 +0100
@@ -33,7 +33,7 @@ fatal ()
FAKEROOT_PREFIX=@prefix@
FAKEROOT_BINDIR=@bindir@
-USEABSLIBPATH=@LDPRELOADABS@
+USEABSLIBPATH=1
LIB=lib@fakeroot_transformed@@DLSUFFIX@
PATHS=@libdir@:${FAKEROOT_PREFIX}/lib64/libfakeroot:${FAKEROOT_PREFIX}/lib32/libfakeroot
FAKED=${FAKEROOT_BINDIR}/@faked_transformed@