aboutsummaryrefslogtreecommitdiff
path: root/network/linksys-tftp/linksys-tftp.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/linksys-tftp/linksys-tftp.SlackBuild')
-rw-r--r--network/linksys-tftp/linksys-tftp.SlackBuild10
1 files changed, 6 insertions, 4 deletions
diff --git a/network/linksys-tftp/linksys-tftp.SlackBuild b/network/linksys-tftp/linksys-tftp.SlackBuild
index b6a51cdd7463c..7af5722f6f11a 100644
--- a/network/linksys-tftp/linksys-tftp.SlackBuild
+++ b/network/linksys-tftp/linksys-tftp.SlackBuild
@@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=linksys-tftp
VERSION=${VERSION:-1.2.1}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -56,7 +56,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.*z*
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -66,8 +66,10 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# patches thanks to Gentoo
-(echo " " && cat $CWD/linksys-tftp-1.2.1-r1-Makefile.patch) | patch -b -p1
-(echo " " && cat $CWD/linksys-tftp-1.2.1-r1-header.patch) | patch -b -p1
+(echo " " && cat $CWD/linksys-tftp-1.2.1-r1-Makefile.patch) | patch -b -p1
+(echo " " && cat $CWD/linksys-tftp-1.2.1-r1-clang.patch) | patch -b -p1
+(echo " " && cat $CWD/linksys-tftp-1.2.1-r1-fno-common.patch) | patch -b -p1
+(echo " " && cat $CWD/linksys-tftp-1.2.1-r1-header.patch) | patch -b -p1
CFLAGS="$SLKCFLAGS -fcommon" \
make