mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
multimedia/pngnq-s9: Fix build on newer toolchain.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
cf72d93bb6
commit
11da0a76d3
1 changed files with 6 additions and 3 deletions
|
@ -21,7 +21,7 @@
|
|||
|
||||
PRGNAM=pngnq-s9
|
||||
VERSION=${VERSION:-2.0.1}
|
||||
BUILD=${BUILD:-1}
|
||||
BUILD=${BUILD:-2}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
if [ -z "$ARCH" ]; then
|
||||
|
@ -64,9 +64,12 @@ find -L . \
|
|||
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
|
||||
-o -perm 511 \) -exec chmod 755 {} \; -o \
|
||||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||
|
||||
# Fix build on newer toolchain, thanks to adrien
|
||||
sed -i 's/AM_INIT_AUTOMAKE\[-Wall -Werror\]/AM_INIT_AUTOMAKE/' configure.ac
|
||||
autoreconf -vif
|
||||
|
||||
autoreconf -vi
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
CXXFLAGS="$SLKCFLAGS" \
|
||||
./configure \
|
||||
|
|
Loading…
Reference in a new issue