aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/fakeroot/fakeroot-1.18.2/0002-fix-prefix.patch
diff options
context:
space:
mode:
authorUlf Samuelsson <ulf@emagii.com>2012-01-31 01:09:45 +0100
committerUlf Samuelsson <ulf@emagii.com>2012-02-09 21:05:36 +0100
commitf5626cb812552ab7c97dd0c707ee635310b37788 (patch)
treea4c8da955c8ffaf117c789ed0b72a84e76ea8db3 /recipes/fakeroot/fakeroot-1.18.2/0002-fix-prefix.patch
parent1dcec0cd96ab74d0bc62daa42a6674937b119b41 (diff)
downloadopenembedded-f5626cb812552ab7c97dd0c707ee635310b37788.tar.gz
fakeroot(-native)_1.18.2.bb: Bump version
Earlier fakeroot recipes are not longer available at the download source. Upgrade to latest version. Signed-off-by: Ulf Samuelsson <ulf@emagii.com>
Diffstat (limited to 'recipes/fakeroot/fakeroot-1.18.2/0002-fix-prefix.patch')
-rw-r--r--recipes/fakeroot/fakeroot-1.18.2/0002-fix-prefix.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/recipes/fakeroot/fakeroot-1.18.2/0002-fix-prefix.patch b/recipes/fakeroot/fakeroot-1.18.2/0002-fix-prefix.patch
new file mode 100644
index 0000000000..7aae9c8654
--- /dev/null
+++ b/recipes/fakeroot/fakeroot-1.18.2/0002-fix-prefix.patch
@@ -0,0 +1,30 @@
+From 6bc2fc6d3907df936ed476591d09d9fe029e22ed Mon Sep 17 00:00:00 2001
+From: Ulf Samuelsson <ulf@emagii.com>
+Date: Mon, 30 Jan 2012 22:42:08 +0100
+Subject: [PATCH 2/2] fix prefix
+
+Ported from an earlier recipe in openembedded
+
+Signed-off-by: Ulf Samuelsson <ulf@emagii.com>
+---
+ scripts/fakeroot.in | 4 ++--
+ 1 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/scripts/fakeroot.in b/scripts/fakeroot.in
+index 7e501bd..9a0e750 100755
+--- a/scripts/fakeroot.in
++++ b/scripts/fakeroot.in
+@@ -30,8 +30,8 @@ fatal ()
+ }
+
+ # strip /bin/fakeroot to find install prefix
+-FAKEROOT_PREFIX=@prefix@
+-FAKEROOT_BINDIR=@bindir@
++FAKEROOT_BINDIR=`dirname $0`
++FAKEROOT_PREFIX=`dirname ${FAKEROOT_BINDIR}`
+
+ USEABSLIBPATH=@LDPRELOADABS@
+ LIB=lib@fakeroot_transformed@@DLSUFFIX@
+--
+1.7.5.4
+