summaryrefslogtreecommitdiff
path: root/system/vbindiff
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-01-01 21:19:15 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-01-01 21:19:15 +0700
commit97fa23184498413dac45bd4640b68f79d2248c5a (patch)
tree06bfd6cccc0425f4a34820fd237b719b2c47f0a8 /system/vbindiff
parent30da9fb316b248f1b88573cae9ed665b083495b0 (diff)
downloadslackbuilds-97fa23184498413dac45bd4640b68f79d2248c5a.tar.gz
system/vbindiff: Updated for version 3.0_beta5.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/vbindiff')
-rw-r--r--system/vbindiff/vbindiff-prevent-segfault.patch25
-rw-r--r--system/vbindiff/vbindiff.SlackBuild11
-rw-r--r--system/vbindiff/vbindiff.info6
3 files changed, 7 insertions, 35 deletions
diff --git a/system/vbindiff/vbindiff-prevent-segfault.patch b/system/vbindiff/vbindiff-prevent-segfault.patch
deleted file mode 100644
index 2b6c173f0b..0000000000
--- a/system/vbindiff/vbindiff-prevent-segfault.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From 879a63ac5f0ffdbe7350ccc7438692a6669d26f2 Mon Sep 17 00:00:00 2001
-From: Peter Ross <pross@xvid.org>
-Date: Sat, 22 Feb 2014 22:50:54 +1100
-Subject: [PATCH] vbindiff: prevent segfault when comparing files of different
- length
-
----
- vbindiff.cpp | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/vbindiff.cpp b/vbindiff.cpp
-index 116a037..a032bc6 100644
---- a/vbindiff.cpp
-+++ b/vbindiff.cpp
-@@ -487,6 +487,8 @@ void FileDisplay::display()
-
- buf[index++] = displayTable[data->line[i][j]];
- }
-+ if (index < 0)
-+ index = 0;
- memset(buf + index, ' ', sizeof(buf) - index - 1);
- memset(str, ' ', screenWidth - (str - buf2));
-
---
-1.8.3.2
diff --git a/system/vbindiff/vbindiff.SlackBuild b/system/vbindiff/vbindiff.SlackBuild
index f135b06752..1e4b96f38d 100644
--- a/system/vbindiff/vbindiff.SlackBuild
+++ b/system/vbindiff/vbindiff.SlackBuild
@@ -1,7 +1,7 @@
#!/bin/sh
# Slackware build script for vbindiff
-# Copyright 2013-2016 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2013-2018 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
#
# Permission to use, copy, modify, and distribute this software for any purpose
@@ -20,8 +20,8 @@
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=vbindiff
-VERSION=${VERSION:-3.0_beta4}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-3.0_beta5}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -51,7 +51,7 @@ else
LIBDIRSUFFIX=""
fi
-DOCS="AUTHORS COPYING NEWS README*"
+DOCS="AUTHORS NEWS README*"
set -e
@@ -68,8 +68,6 @@ 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/vbindiff-prevent-segfault.patch
-
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -79,7 +77,6 @@ CXXFLAGS="$SLKCFLAGS" \
--localstatedir=/var \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
- --disable-static \
--disable-debug \
--build=$ARCH-slackware-linux
diff --git a/system/vbindiff/vbindiff.info b/system/vbindiff/vbindiff.info
index ebd6126a80..e573999102 100644
--- a/system/vbindiff/vbindiff.info
+++ b/system/vbindiff/vbindiff.info
@@ -1,8 +1,8 @@
PRGNAM="vbindiff"
-VERSION="3.0_beta4"
+VERSION="3.0_beta5"
HOMEPAGE="https://www.cjmweb.net/vbindiff/"
-DOWNLOAD="https://www.cjmweb.net/vbindiff/vbindiff-3.0_beta4.tar.gz"
-MD5SUM="dbda80ef580e1a0975ef50b9aaa5210e"
+DOWNLOAD="https://www.cjmweb.net/vbindiff/vbindiff-3.0_beta5.tar.gz"
+MD5SUM="48b147399feebe67d51217178705dea3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""