diff options
author | B. Watson <yalhcru@gmail.com> | 2012-09-21 06:22:42 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2012-09-22 11:39:45 -0500 |
commit | 01db23cd32288c7a205c9486752b753fdb6e92c0 (patch) | |
tree | cbb227c582d998bcaa7d5900567247e96a3261ff /audio/qm-vamp-plugins | |
parent | c8bab600573f630fffb12ca276f2a08ff5f70884 (diff) |
audio/qm-vamp-plugins: Fix for gcc-4.7.x.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'audio/qm-vamp-plugins')
-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 e163cd9e950f4..750e9a3de23f7 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 ;; |