system/d52: Fix broken patch.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2014-09-08 22:24:26 +07:00 committed by Willy Sudiarto Raharjo
parent 1d0bf2474f
commit 62a8806940
3 changed files with 2 additions and 14 deletions

View File

@ -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

Binary file not shown.

View File

@ -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