aboutsummaryrefslogtreecommitdiff
path: root/multimedia/nted/nted.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/nted/nted.SlackBuild')
-rw-r--r--multimedia/nted/nted.SlackBuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/multimedia/nted/nted.SlackBuild b/multimedia/nted/nted.SlackBuild
index f99a747d4fb0..cfe07adf9c42 100644
--- a/multimedia/nted/nted.SlackBuild
+++ b/multimedia/nted/nted.SlackBuild
@@ -25,6 +25,8 @@
# Modified by the SlackBuilds.org project
+# 20170621 bkw: fix build on -current (gcc7's pickier, use -Wno-narrowing)
+
PRGNAM=nted
VERSION=${VERSION:-1.10.18}
BUILD=${BUILD:-2}
@@ -73,7 +75,7 @@ find -L . \
LDFLAGS="$SLKLDFLAGS" \
CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS -fpermissive" \
+CXXFLAGS="$SLKCFLAGS -fpermissive -Wno-narrowing" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \