aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 67a373675a142..583fc8ea2959c 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" \