multimedia/nted: Fix build for -current.

Signed-off-by: B. Watson <yalhcru@gmail.com>
This commit is contained in:
B. Watson 2017-06-21 02:46:34 -04:00 committed by Willy Sudiarto Raharjo
parent 2d8f80ddaf
commit 7f4a537a30
1 changed files with 3 additions and 1 deletions

View File

@ -25,6 +25,8 @@
# Modified by the SlackBuilds.org project # Modified by the SlackBuilds.org project
# 20170621 bkw: fix build on -current (gcc7's pickier, use -Wno-narrowing)
PRGNAM=nted PRGNAM=nted
VERSION=${VERSION:-1.10.18} VERSION=${VERSION:-1.10.18}
BUILD=${BUILD:-2} BUILD=${BUILD:-2}
@ -73,7 +75,7 @@ find -L . \
LDFLAGS="$SLKLDFLAGS" \ LDFLAGS="$SLKLDFLAGS" \
CFLAGS="$SLKCFLAGS" \ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS -fpermissive" \ CXXFLAGS="$SLKCFLAGS -fpermissive -Wno-narrowing" \
./configure \ ./configure \
--prefix=/usr \ --prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \ --libdir=/usr/lib${LIBDIRSUFFIX} \