diff options
author | Richard Narron <richard@aaazen.com> | 2022-04-01 11:28:35 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-04-02 18:19:03 +0700 |
commit | 6733fb97c56cefb94767a6b38c59bc77d967c921 (patch) | |
tree | 3d28b172dec5ed4b7ebdd6c8d66005acfc774859 /network/linksys-tftp/linksys-tftp.SlackBuild | |
parent | 74795638ef41a29560027d268af1023bc09818ac (diff) |
network/linksys-tftp: Add more patches.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/linksys-tftp/linksys-tftp.SlackBuild')
-rw-r--r-- | network/linksys-tftp/linksys-tftp.SlackBuild | 10 |
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 |