audio/qm-vamp-plugins: Fix for gcc-4.7.x.

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
B. Watson 2012-09-21 06:22:42 +02:00 committed by Robby Workman
parent c8bab60057
commit 01db23cd32

View file

@ -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 ;;