diff options
-rw-r--r-- | audio/qm-vamp-plugins/qm-vamp-plugins.SlackBuild | 7 |
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 e163cd9e950f..750e9a3de23f 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 ;; |