24 lines
812 B
Diff
24 lines
812 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@
|
||
|
@@ -43,7 +43,7 @@ export FAKED_MODE
|
||
|
|
||
|
libfound=no
|
||
|
|
||
|
-GETOPTEST=`getopt --version`
|
||
|
+GETOPTEST=`getopt --version 2>/dev/null`
|
||
|
case $GETOPTEST in
|
||
|
getopt*) # GNU getopt
|
||
|
FAKE_TEMP=`getopt -l lib: -l faked: -l unknown-is-real -l fd-base: -l version -l help -- +l:f:i:s:ub:vh "$@"`
|