aboutsummaryrefslogtreecommitdiffstats
path: root/fakeroot/fakeroot-native-1.0.7/fix-prefix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'fakeroot/fakeroot-native-1.0.7/fix-prefix.patch')
-rw-r--r--fakeroot/fakeroot-native-1.0.7/fix-prefix.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/fakeroot/fakeroot-native-1.0.7/fix-prefix.patch b/fakeroot/fakeroot-native-1.0.7/fix-prefix.patch
index e69de29bb2..8d60bcb530 100644
--- a/fakeroot/fakeroot-native-1.0.7/fix-prefix.patch
+++ b/fakeroot/fakeroot-native-1.0.7/fix-prefix.patch
@@ -0,0 +1,18 @@
+
+#
+# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
+#
+
+--- fakeroot-1.0.4/scripts/fakeroot.in~fix-prefix 2004-06-19 03:23:10.000000000 +0200
++++ fakeroot-1.0.4/scripts/fakeroot.in 2004-07-03 19:01:23.000000000 +0200
+@@ -15,8 +15,8 @@
+ }
+
+ # strip /bin/fakeroot to find install prefix
+-PREFIX=@prefix@
+-BINDIR=@bindir@
++BINDIR=`dirname $0`
++PREFIX=`dirname ${BINDIR}`
+
+ LIB=lib@fakeroot_transformed@.so.0
+ PATHS=${PREFIX}/lib/libfakeroot:${PREFIX}/lib64/libfakeroot