summaryrefslogtreecommitdiff
path: root/system/fakeroot/fakeroot.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/fakeroot/fakeroot.SlackBuild')
-rw-r--r--system/fakeroot/fakeroot.SlackBuild11
1 files changed, 7 insertions, 4 deletions
diff --git a/system/fakeroot/fakeroot.SlackBuild b/system/fakeroot/fakeroot.SlackBuild
index ed0dbfb4b7..4786badaef 100644
--- a/system/fakeroot/fakeroot.SlackBuild
+++ b/system/fakeroot/fakeroot.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for fakeroot
# Copyright 2007-2008 Ferenc Deak <ferenc.deak@gmail.com>
-# Copyright 2016 Andrzej Telszewski, Banie
+# Copyright 2017 Andrzej Telszewski, Banie
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,8 +24,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=fakeroot
-VERSION=${VERSION:-1.21}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-1.22}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -61,7 +61,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/${PRGNAM}_$VERSION.orig.tar.gz
+tar xvf $CWD/${PRGNAM}_$VERSION.orig.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -70,7 +70,10 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+patch -p1 < $CWD/hide-dlsym-error.patch
+
./bootstrap
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \