summaryrefslogtreecommitdiff
path: root/audio/qm-vamp-plugins/qm-vamp-plugins.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'audio/qm-vamp-plugins/qm-vamp-plugins.SlackBuild')
-rw-r--r--audio/qm-vamp-plugins/qm-vamp-plugins.SlackBuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/audio/qm-vamp-plugins/qm-vamp-plugins.SlackBuild b/audio/qm-vamp-plugins/qm-vamp-plugins.SlackBuild
index e163cd9e95..750e9a3de2 100644
--- a/audio/qm-vamp-plugins/qm-vamp-plugins.SlackBuild
+++ b/audio/qm-vamp-plugins/qm-vamp-plugins.SlackBuild
@@ -6,7 +6,7 @@
PRGNAM=qm-vamp-plugins
VERSION=${VERSION:-1.7}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -79,6 +79,11 @@ find . \
# (without this, it can't find its own headers)
sed -i 's,-I\.,-I. -Iinclude,' build/general/Makefile.inc
+# Dirty hack: various qm-dsp headers use size_t without including anything
+# that defines it. Rather than laboriously find & patch them all, we'll
+# use a gcc-specific hack:
+sed -i '/^CFLAGS/s/$/ -include stddef.h/' build/linux/Makefile.linux64
+
# SSE/SSE2 support:
case "$SSE" in
"yes") USE_SSE=yes ;;