summaryrefslogtreecommitdiffstats
path: root/accessibility/unclutter/unclutter.SlackBuild
diff options
context:
space:
mode:
author B. Watson <yalhcru@gmail.com>2016-07-22 02:36:54 -0400
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2016-08-13 07:22:55 +0700
commitad4584717f6d6b017e43463176d10218cca5e054 (patch)
treeb9491cafcaa91746aa66faf0ab81c174912876e2 /accessibility/unclutter/unclutter.SlackBuild
parent27160cc5e86bf35ab3dc21e87bbe016d2968c8a7 (diff)
downloadslackbuilds-ad4584717f6d6b017e43463176d10218cca5e054.tar.gz
slackbuilds-ad4584717f6d6b017e43463176d10218cca5e054.tar.xz
accessibility/unclutter: Fix gcc5 warnings.
Diffstat (limited to '')
-rw-r--r--accessibility/unclutter/unclutter.SlackBuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/accessibility/unclutter/unclutter.SlackBuild b/accessibility/unclutter/unclutter.SlackBuild
index 02f76abb72..a02f5712e1 100644
--- a/accessibility/unclutter/unclutter.SlackBuild
+++ b/accessibility/unclutter/unclutter.SlackBuild
@@ -8,7 +8,7 @@
PRGNAM=unclutter
VERSION=${VERSION:-1.09}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -53,8 +53,12 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# Fix a few warnings that look like they might actually cause problems.
+# The source still uses K&R declarations, but ANSIfying it is more work
+# than I care to do for no benefit.
+patch -p1 < $CWD/fixwarnings.diff
+
xmkmf -a
-#make CDEBUGFLAGS="$SLKCFLAGS -fno-strength-reduce -fno-strict-aliasing"
make CDEBUGFLAGS="$SLKCFLAGS"
# manual install since "make install" fails to install the man page