summaryrefslogtreecommitdiffstats
path: root/games/sauerbraten/makefile_libx11_fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'games/sauerbraten/makefile_libx11_fix.patch')
-rw-r--r--games/sauerbraten/makefile_libx11_fix.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/games/sauerbraten/makefile_libx11_fix.patch b/games/sauerbraten/makefile_libx11_fix.patch
new file mode 100644
index 0000000000..feee765de3
--- /dev/null
+++ b/games/sauerbraten/makefile_libx11_fix.patch
@@ -0,0 +1,11 @@
+--- Makefile.old 2010-05-13 11:30:28.000000000 -0700
++++ Makefile 2012-08-03 18:46:55.010000000 -0700
+@@ -21,7 +21,7 @@
+ CLIENT_LIBS= -mwindows -Llib -lSDL -lSDL_image -lSDL_mixer -lzdll -lopengl32 -lenet -lws2_32 -lwinmm
+ else
+ CLIENT_INCLUDES= $(INCLUDES) -I/usr/X11R6/include `sdl-config --cflags`
+-CLIENT_LIBS= -Lenet/.libs -lenet -L/usr/X11R6/lib `sdl-config --libs` -lSDL_image -lSDL_mixer -lz -lGL
++CLIENT_LIBS= -Lenet/.libs -lenet -lX11 `sdl-config --libs` -lSDL_image -lSDL_mixer -lz -lGL
+ endif
+ ifeq ($(PLATFORM),Linux)
+ CLIENT_LIBS+= -lrt