summaryrefslogtreecommitdiff
path: root/accessibility
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2020-10-27 16:55:18 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-10-31 11:15:41 +0700
commit4f32a3c5b2d9983fa8cc790d2814e92ff7081af3 (patch)
tree06d840bea6a4193b55f97258090712bd5b40f49b /accessibility
parent884f8376d3c2dd0542a3e5761ea1e631f746ceab (diff)
downloadslackbuilds-4f32a3c5b2d9983fa8cc790d2814e92ff7081af3.tar.gz
accessibility/xsel: Fix build on -current.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'accessibility')
-rw-r--r--accessibility/xsel/xsel.SlackBuild12
1 files changed, 7 insertions, 5 deletions
diff --git a/accessibility/xsel/xsel.SlackBuild b/accessibility/xsel/xsel.SlackBuild
index 67a373675a..583fc8ea29 100644
--- a/accessibility/xsel/xsel.SlackBuild
+++ b/accessibility/xsel/xsel.SlackBuild
@@ -48,11 +48,13 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
+
+# 20201027 bkw: fixes build on -current. I *despise* people who leave
+# -Werror in released code: it means they don't care if it works on
+# anyone else's compiler but the specific version they use. Grr.
+sed -i 's,-Werror,,g' configure
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \