From 4f32a3c5b2d9983fa8cc790d2814e92ff7081af3 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Tue, 27 Oct 2020 16:55:18 -0400 Subject: accessibility/xsel: Fix build on -current. Signed-off-by: B. Watson Signed-off-by: Willy Sudiarto Raharjo --- accessibility/xsel/xsel.SlackBuild | 12 +++++++----- 1 file 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" \ -- cgit v1.2.3-65-gdbad