aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
Diffstat (limited to 'games')
-rw-r--r--games/q2pro/files/patch-build__ref_newgl.mk14
1 files changed, 14 insertions, 0 deletions
diff --git a/games/q2pro/files/patch-build__ref_newgl.mk b/games/q2pro/files/patch-build__ref_newgl.mk
new file mode 100644
index 000000000000..6d0c290960ec
--- /dev/null
+++ b/games/q2pro/files/patch-build__ref_newgl.mk
@@ -0,0 +1,14 @@
+--- build/ref_newgl.mk.orig Mon Jan 15 12:13:34 2007
++++ build/ref_newgl.mk Mon Jan 15 12:20:31 2007
+@@ -9,9 +9,9 @@
+ VPATH += $(INSTALLDIR)/ref_newgl \
+ $(INSTALLDIR)/ref_shared
+
+-LDFLAGS += -lm -ljpeg -shared -fPIC
++LDFLAGS += -lm -ljpeg -shared
+ CFLAGS += -DOPENGL_RENDERER -DTRUECOLOR_RENDERER -DUSE_LIBJPEG
+-CFLAGS_LINUX += -DUSE_LIBPNG
++CFLAGS_LINUX += -DUSE_LIBPNG -fPIC
+ LDFLAGS_LINUX += -lpng
+
+ ifeq (win32,$(TARGETOS))