aboutsummaryrefslogtreecommitdiff
path: root/games/ioquake3
diff options
context:
space:
mode:
authorRoman Bogorodskiy <novel@FreeBSD.org>2015-09-30 15:18:06 +0000
committerRoman Bogorodskiy <novel@FreeBSD.org>2015-09-30 15:18:06 +0000
commit789fea148c7a571eb0911719f5629a0bb99d0188 (patch)
tree3650436b70e14fea7c4fe1c61b86a8339df5c7e3 /games/ioquake3
parente87e8d25882436616f7d298b7e57cf3e14b18358 (diff)
downloadports-789fea148c7a571eb0911719f5629a0bb99d0188.tar.gz
ports-789fea148c7a571eb0911719f5629a0bb99d0188.zip
Notes
Diffstat (limited to 'games/ioquake3')
-rw-r--r--games/ioquake3/files/patch-Makefile13
1 files changed, 11 insertions, 2 deletions
diff --git a/games/ioquake3/files/patch-Makefile b/games/ioquake3/files/patch-Makefile
index ca1190284c67..7b1d83f32a4e 100644
--- a/games/ioquake3/files/patch-Makefile
+++ b/games/ioquake3/files/patch-Makefile
@@ -1,5 +1,5 @@
---- Makefile.orig 2009-04-22 20:54:48.000000000 +0200
-+++ Makefile 2011-11-04 20:42:56.000000000 +0100
+--- Makefile.orig 2009-04-22 22:54:48.000000000 +0400
++++ Makefile 2015-09-28 20:24:27.956819000 +0300
@@ -187,6 +187,8 @@
# FIXME: introduce CLIENT_CFLAGS
SDL_CFLAGS=$(shell pkg-config --cflags sdl|sed 's/-Dmain=SDL_main//')
@@ -131,6 +131,15 @@
else # ifeq freebsd
#############################################################################
+@@ -831,7 +846,7 @@
+ ifeq ($(USE_VOIP),1)
+ BASE_CFLAGS += -DUSE_VOIP
+ ifeq ($(USE_INTERNAL_SPEEX),1)
+- BASE_CFLAGS += -DFLOATING_POINT -DUSE_ALLOCA -I$(SPEEXDIR)/include
++ BASE_CFLAGS := -I$(SPEEXDIR)/include -DFLOATING_POINT -DUSE_ALLOCA $(BASE_CFLAGS)
+ else
+ CLIENT_LIBS += -lspeex
+ endif
@@ -1442,6 +1457,9 @@
ifeq ($(ARCH),x86_64)
Q3OBJ += $(B)/client/vm_x86_64.o $(B)/client/vm_x86_64_assembler.o