aboutsummaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2015-12-08 22:43:50 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-17 09:40:16 +0700
commita41b2261a5a66b378776e603c73fde26fa10a6e9 (patch)
treee0b0150a174479a898805bec3582062843241ac5 /network
parent3ddd4e9c9ba8201b0516c0364a3cf3e59bea4983 (diff)
network/wmnotify: Fixed build with gcc-5.2.0.
Signed-off-by: David Spencer <baildon.research@googlemail.com>
Diffstat (limited to 'network')
-rw-r--r--network/wmnotify/wmnotify.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/network/wmnotify/wmnotify.SlackBuild b/network/wmnotify/wmnotify.SlackBuild
index dff1201d2f346..d5c1dd4f4f2f1 100644
--- a/network/wmnotify/wmnotify.SlackBuild
+++ b/network/wmnotify/wmnotify.SlackBuild
@@ -71,12 +71,12 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# Do you want to Patch it? let'go!
-if [ $PATCH == "yes" ]; then
+if [ "$PATCH" = "yes" ]; then
cp $CWD/wmnotify.patch ./src && cd src
patch -p0 < wmnotify.patch && cd ..
fi
-CFLAGS="$SLKCFLAGS" \
+CFLAGS="$SLKCFLAGS -fgnu89-inline" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \