From 2215904e4cbb31954d6e8fbdf96d8cb7520bb074 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Tue, 20 Jun 2017 23:10:14 -0400 Subject: audio/klick: Fix build for -current. Signed-off-by: B. Watson --- audio/klick/klick.SlackBuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'audio/klick') diff --git a/audio/klick/klick.SlackBuild b/audio/klick/klick.SlackBuild index 704733c796..deec542651 100644 --- a/audio/klick/klick.SlackBuild +++ b/audio/klick/klick.SlackBuild @@ -6,6 +6,8 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20170620 bkw: add -fpermissive to cflags, for -current's gcc7. + PRGNAM=klick VERSION=${VERSION:-0.12.2} BUILD=${BUILD:-1} @@ -56,7 +58,7 @@ find -L . \ OPTS="RUBBERBAND=${RUBBERBAND:-no} OSC=${LIBLO:-yes}" # hate scons. This mess forces CFLAGS. -SCONSCFLAGS=$( echo "$SLKCFLAGS" | sed "s/\([^ ]\+\)/'\1', /g" ) +SCONSCFLAGS=$( echo "$SLKCFLAGS -fpermissive" | sed "s/\([^ ]\+\)/'\1', /g" ) sed -i "s/'-O2', /$SCONSCFLAGS/" SConstruct scons $OPTS PREFIX=/usr -- cgit v1.2.3