summaryrefslogtreecommitdiffstats
path: root/misc/xdelta3/xdelta3.SlackBuild
diff options
context:
space:
mode:
author Hunter Sezen2019-07-20 04:24:33 +0200
committer Willy Sudiarto Raharjo2019-07-20 04:24:33 +0200
commit12c3455364a6b49e63323c2b52a8680e3f6f5c35 (patch)
treee87f3648143332470d324d152f6281334fd3a6f2 /misc/xdelta3/xdelta3.SlackBuild
parent3557fcd162c6ce29c0b9e6e8c21b007b63a7d9d2 (diff)
downloadslackbuilds-12c3455364a6b49e63323c2b52a8680e3f6f5c35.tar.gz
misc/xdelta3: Updated for version 3.1.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'misc/xdelta3/xdelta3.SlackBuild')
-rw-r--r--misc/xdelta3/xdelta3.SlackBuild10
1 files changed, 7 insertions, 3 deletions
diff --git a/misc/xdelta3/xdelta3.SlackBuild b/misc/xdelta3/xdelta3.SlackBuild
index 5fefaac68a..d62489cc0b 100644
--- a/misc/xdelta3/xdelta3.SlackBuild
+++ b/misc/xdelta3/xdelta3.SlackBuild
@@ -24,8 +24,8 @@
PRGNAM=xdelta3
SRCNAM=${PRGNAM%3}
-VERSION=${VERSION:-3.0.11}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-3.1.0}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -64,7 +64,7 @@ rm -rf $SRCNAM-$VERSION
tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
cd $SRCNAM-$VERSION
# dangling symlink
-rm -f ./$PRGNAM/py-compile
+rm -f ./$PRGNAM/install-sh
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -72,6 +72,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 {} \;
+# Fix assertion related compile failure
+# https://github.com/jmacd/xdelta/pull/241
+patch -p1 < $CWD/c11.patch
+
cd $PRGNAM
autoreconf -fi