diff options
author | David Spencer <baildon.research@googlemail.com> | 2015-12-08 22:43:50 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-01-17 09:40:16 +0700 |
commit | a41b2261a5a66b378776e603c73fde26fa10a6e9 (patch) | |
tree | e0b0150a174479a898805bec3582062843241ac5 /network | |
parent | 3ddd4e9c9ba8201b0516c0364a3cf3e59bea4983 (diff) | |
download | slackbuilds-a41b2261a5a66b378776e603c73fde26fa10a6e9.tar.gz |
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.SlackBuild | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/network/wmnotify/wmnotify.SlackBuild b/network/wmnotify/wmnotify.SlackBuild index dff1201d2f..d5c1dd4f4f 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 \ |