summaryrefslogtreecommitdiffstats
path: root/misc/xdelta3/xdelta3.SlackBuild
diff options
context:
space:
mode:
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