aboutsummaryrefslogtreecommitdiff
path: root/audio/SAM
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2022-02-07 19:14:01 +1300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-07 23:04:36 +0700
commit4cebd04dfd12ca9d9a5fca556d2e829eaa3d62c0 (patch)
tree7398e8efc6865f0e8070d9fd22539ac0876a83c3 /audio/SAM
parentdd1b9b5a73a88cefd1b51f13810799c0c263607c (diff)
audio/SAM: Fix build with newer gcc.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio/SAM')
-rw-r--r--audio/SAM/SAM.SlackBuild2
-rw-r--r--audio/SAM/fix_variable_redefinition.patch.gzbin0 -> 8076 bytes
2 files changed, 2 insertions, 0 deletions
diff --git a/audio/SAM/SAM.SlackBuild b/audio/SAM/SAM.SlackBuild
index 8139cc2503bb2..402170f08e377 100644
--- a/audio/SAM/SAM.SlackBuild
+++ b/audio/SAM/SAM.SlackBuild
@@ -72,6 +72,8 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
cd $PRGNAM-$VERSION
+# https://github.com/s-macke/SAM/pull/14/files
+zcat $CWD/fix_variable_redefinition.patch.gz | patch -p1
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
diff --git a/audio/SAM/fix_variable_redefinition.patch.gz b/audio/SAM/fix_variable_redefinition.patch.gz
new file mode 100644
index 0000000000000..5b11f40616e88
--- /dev/null
+++ b/audio/SAM/fix_variable_redefinition.patch.gz
Binary files differ