aboutsummaryrefslogtreecommitdiff
path: root/system/d52
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2014-09-08 22:24:26 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-09-08 22:25:31 +0700
commit62a8806940ca373fba36efa72a81505fec2f99a2 (patch)
treed6442479395f3c8fc19b3fd1f62fa151fee966f2 /system/d52
parent1d0bf2474f49255b25a4a5dec807fafa265e1439 (diff)
system/d52: Fix broken patch.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/d52')
-rw-r--r--system/d52/20-fix-format-security-error.patch12
-rw-r--r--system/d52/20-fix-format-security-error.patch.gzbin0 -> 272 bytes
-rw-r--r--system/d52/d52.SlackBuild4
3 files changed, 2 insertions, 14 deletions
diff --git a/system/d52/20-fix-format-security-error.patch b/system/d52/20-fix-format-security-error.patch
deleted file mode 100644
index c7ed896ade814..0000000000000
--- a/system/d52/20-fix-format-security-error.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -Nur -x '*.orig' -x '*~' d52-3.4.1/d52pass2.c d52-3.4.1.new/d52pass2.c
---- d52-3.4.1/d52pass2.c 2007-09-02 15:31:16.000000000 +0000
-+++ d52-3.4.1.new/d52pass2.c 2011-11-08 02:22:21.000000000 +0000
-@@ -932,7 +932,7 @@
- }
- else if (dir < 0x80)
- {
-- kcnt += fprintf(fp, rbname[dir].dent);
-+ kcnt += fprintf(fp, "%s",rbname[dir].dent);
- dirregs[dir] |= 1;
- }
- else
diff --git a/system/d52/20-fix-format-security-error.patch.gz b/system/d52/20-fix-format-security-error.patch.gz
new file mode 100644
index 0000000000000..7e949b06ffc55
--- /dev/null
+++ b/system/d52/20-fix-format-security-error.patch.gz
Binary files differ
diff --git a/system/d52/d52.SlackBuild b/system/d52/d52.SlackBuild
index 19747701bda43..35eb2071d3187 100644
--- a/system/d52/d52.SlackBuild
+++ b/system/d52/d52.SlackBuild
@@ -8,7 +8,7 @@
PRGNAM=d52
VERSION=${VERSION:-3.4.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -57,7 +57,7 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# Patch from Debian, fix minor security flaw
-patch -p1 < $CWD/20-fix-format-security-error.patch
+zcat $CWD/20-fix-format-security-error.patch.gz | patch -p1
make CFLAGS="$SLKCFLAGS"
mkdir -p $PKG/usr/bin