From cf8cf1ae6242b8a4527783b9b5d4ac71f315b7d5 Mon Sep 17 00:00:00 2001 From: Matteo Bernardini Date: Tue, 5 Nov 2019 12:26:35 +0100 Subject: [PATCH] network/packETH: Small fix and disable warnings-as-errors. Signed-off-by: Matteo Bernardini --- network/packETH/packETH.SlackBuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/network/packETH/packETH.SlackBuild b/network/packETH/packETH.SlackBuild index 13888a3401..67f0251bdc 100644 --- a/network/packETH/packETH.SlackBuild +++ b/network/packETH/packETH.SlackBuild @@ -61,7 +61,7 @@ mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -cd $PRGNAM +cd $PRGNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -69,6 +69,8 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +sed -i "s|\ -Werror||" cli/Makefile + sed -i 's/^LIBS=/LIBS+=/' Makefile.am autoreconf -f -i