games/ioquake3-devel: fix build with speex installed
Adjust CFLAGS to pick bundled speex instead of one installed on the system, that is, apparently, incompatible with the bundled one. A similar fix was already done for games/ioquake3 in r398218. PR: 203389
This commit is contained in:
parent
7acee5a3d6
commit
33c42f1974
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=400192
1 changed files with 11 additions and 0 deletions
11
games/ioquake3-devel/files/patch-Makefile
Normal file
11
games/ioquake3-devel/files/patch-Makefile
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- Makefile.orig 2015-10-25 13:13:52 UTC
|
||||
+++ Makefile
|
||||
@@ -1043,7 +1043,7 @@ ifeq ($(USE_VOIP),1)
|
||||
CLIENT_CFLAGS += -DUSE_VOIP
|
||||
SERVER_CFLAGS += -DUSE_VOIP
|
||||
ifeq ($(USE_INTERNAL_SPEEX),1)
|
||||
- CLIENT_CFLAGS += -DFLOATING_POINT -DUSE_ALLOCA -I$(SPEEXDIR)/include
|
||||
+ CLIENT_CFLAGS := -I$(SPEEXDIR)/include -DFLOATING_POINT -DUSE_ALLOCA $(CLIENT_CFLAGS)
|
||||
else
|
||||
CLIENT_LIBS += -lspeex -lspeexdsp
|
||||
endif
|
Loading…
Reference in a new issue