aboutsummaryrefslogtreecommitdiff
path: root/multimedia/nted
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2017-06-21 02:46:34 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-06-24 08:32:50 +0700
commit7f4a537a30a10b48386af9e06e71c965af168087 (patch)
tree99b98804e7ba2dd2c7d93f085b4fe66907d5ac56 /multimedia/nted
parent2d8f80ddaf0639d1683fe60f59c92bd66b6b0d6d (diff)
multimedia/nted: Fix build for -current.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'multimedia/nted')
-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} \