diff options
Diffstat (limited to 'accessibility/unclutter/unclutter.SlackBuild')
-rw-r--r-- | accessibility/unclutter/unclutter.SlackBuild | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/accessibility/unclutter/unclutter.SlackBuild b/accessibility/unclutter/unclutter.SlackBuild index 02f76abb7235a..a02f5712e1091 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 |