From 33c42f1974fe227d5eda6178031a0000498592b3 Mon Sep 17 00:00:00 2001 From: Roman Bogorodskiy Date: Mon, 26 Oct 2015 16:42:13 +0000 Subject: [PATCH] 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 --- games/ioquake3-devel/files/patch-Makefile | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 games/ioquake3-devel/files/patch-Makefile diff --git a/games/ioquake3-devel/files/patch-Makefile b/games/ioquake3-devel/files/patch-Makefile new file mode 100644 index 000000000000..5122e75c6f59 --- /dev/null +++ b/games/ioquake3-devel/files/patch-Makefile @@ -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