summaryrefslogtreecommitdiffstats
path: root/audio/alsacap/alsacap.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'audio/alsacap/alsacap.SlackBuild')
-rw-r--r--audio/alsacap/alsacap.SlackBuild13
1 files changed, 7 insertions, 6 deletions
diff --git a/audio/alsacap/alsacap.SlackBuild b/audio/alsacap/alsacap.SlackBuild
index 70fd25dc9e..d1fcc38c91 100644
--- a/audio/alsacap/alsacap.SlackBuild
+++ b/audio/alsacap/alsacap.SlackBuild
@@ -13,8 +13,12 @@
# 20140824 bkw: OK, it changed. I haven't got a copy of the old tarball
# and web.archive.org doesn't seem to either. No idea what changed, sorry.
+# 20201207 bkw: actual new release! No functional changes, just fixes for
+# compiler warnings in alsacap.c. VERSION now 20200821 (modification time
+# of alsacap.c).
+
PRGNAM=alsacap
-VERSION=${VERSION:-20140824}
+VERSION=${VERSION:-20200821}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -54,11 +58,8 @@ rm -rf $PRGNAM
tar xvf $CWD/$PRGNAM.tgz
cd $PRGNAM
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 640 -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 {} \+
sed -i "s,gcc,gcc $SLKCFLAGS," Makefile
make