system/d52: Fix broken patch.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
1d0bf2474f
commit
62a8806940
|
@ -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.
|
@ -8,7 +8,7 @@
|
||||||
|
|
||||||
PRGNAM=d52
|
PRGNAM=d52
|
||||||
VERSION=${VERSION:-3.4.1}
|
VERSION=${VERSION:-3.4.1}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-2}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
if [ -z "$ARCH" ]; then
|
if [ -z "$ARCH" ]; then
|
||||||
|
@ -57,7 +57,7 @@ find -L . \
|
||||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||||
|
|
||||||
# Patch from Debian, fix minor security flaw
|
# 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"
|
make CFLAGS="$SLKCFLAGS"
|
||||||
mkdir -p $PKG/usr/bin
|
mkdir -p $PKG/usr/bin
|
||||||
|
|
Loading…
Reference in New Issue