mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
audio/qm-vamp-plugins: Fix for gcc-4.7.x.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
parent
c8bab60057
commit
01db23cd32
1 changed files with 6 additions and 1 deletions
|
@ -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 ;;
|
||||
|
|
Loading…
Reference in a new issue