diff options
author | B. Watson <yalhcru@gmail.com> | 2017-06-20 23:10:14 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-06-24 08:32:47 +0700 |
commit | 2215904e4cbb31954d6e8fbdf96d8cb7520bb074 (patch) | |
tree | 57d79b6595a3da13e4b245e307ce02cba2ad21d6 /audio | |
parent | 430e2cfd4c225ace6f9e1289bb8b4bb710ec59fb (diff) | |
download | slackbuilds-2215904e4cbb31954d6e8fbdf96d8cb7520bb074.tar.gz |
audio/klick: Fix build for -current.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'audio')
-rw-r--r-- | audio/klick/klick.SlackBuild | 4 |
1 files changed, 3 insertions, 1 deletions
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 |