summaryrefslogtreecommitdiffstats
path: root/meta/packages/fakeroot/files/fix-prefix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/fakeroot/files/fix-prefix.patch')
-rw-r--r--meta/packages/fakeroot/files/fix-prefix.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/meta/packages/fakeroot/files/fix-prefix.patch b/meta/packages/fakeroot/files/fix-prefix.patch
new file mode 100644
index 0000000000..3884aca01c
--- /dev/null
+++ b/meta/packages/fakeroot/files/fix-prefix.patch
@@ -0,0 +1,18 @@
1
2#
3# Patch managed by http://www.holgerschurig.de/patcher.html
4#
5
6--- fakeroot-1.2.13/scripts/fakeroot.in~fix-prefix
7+++ fakeroot-1.2.13/scripts/fakeroot.in
8@@ -15,8 +15,8 @@
9 }
10
11 # strip /bin/fakeroot to find install prefix
12-PREFIX=@prefix@
13-BINDIR=@bindir@
14+BINDIR=`dirname $0`
15+PREFIX=`dirname ${BINDIR}`
16
17 LIB=lib@fakeroot_transformed@.so.0
18 PATHS=@libdir@:${PREFIX}/lib64/libfakeroot:${PREFIX}/lib32/libfakeroot