aboutsummaryrefslogtreecommitdiff
path: root/misc/dwdiff/dwdiff.SlackBuild
diff options
context:
space:
mode:
authorHuidae Cho <grass4u@gmail.com>2021-11-02 18:35:29 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-11-05 22:56:43 +0700
commit4d2007c75b580130a9718e18534566a1508b0516 (patch)
tree4a28febf9140a3849b5a003708de8ebb050575a1 /misc/dwdiff/dwdiff.SlackBuild
parent62cb49928ce6d59e925280d3ff088857ef3b9781 (diff)
misc/dwdiff: Updated for version 2.1.4.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'misc/dwdiff/dwdiff.SlackBuild')
-rw-r--r--misc/dwdiff/dwdiff.SlackBuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/misc/dwdiff/dwdiff.SlackBuild b/misc/dwdiff/dwdiff.SlackBuild
index cbca68bd60f31..82e611073ec80 100644
--- a/misc/dwdiff/dwdiff.SlackBuild
+++ b/misc/dwdiff/dwdiff.SlackBuild
@@ -7,7 +7,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=dwdiff
-VERSION=${VERSION:-2.0.1}
+VERSION=${VERSION:-2.1.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -59,7 +59,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tgz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -68,8 +68,10 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 \
-o -perm 400 \) -exec chmod 644 {} \;
+# Patch for configure --mandir
+patch -p1 < $CWD/config.pkg.patch
# Patch for a build failure if not building with unicode.
-patch -p1 < $CWD/doDiff.c.patch
+patch -p1 < $CWD/src-option.c.patch
# This is one messed up makefile - and its configure doesn't accept '--build'
CC="gcc -fgnu89-inline" \