From a41b2261a5a66b378776e603c73fde26fa10a6e9 Mon Sep 17 00:00:00 2001 From: David Spencer Date: Tue, 8 Dec 2015 22:43:50 +0000 Subject: network/wmnotify: Fixed build with gcc-5.2.0. Signed-off-by: David Spencer --- network/wmnotify/wmnotify.SlackBuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'network/wmnotify') 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 \ -- cgit v1.2.3