summaryrefslogtreecommitdiff
path: root/games/assaultcube/missing-X11.patch
diff options
context:
space:
mode:
Diffstat (limited to 'games/assaultcube/missing-X11.patch')
-rw-r--r--games/assaultcube/missing-X11.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/games/assaultcube/missing-X11.patch b/games/assaultcube/missing-X11.patch
new file mode 100644
index 0000000000..0b5443c574
--- /dev/null
+++ b/games/assaultcube/missing-X11.patch
@@ -0,0 +1,12 @@
+diff -Naur 1.1.0.4.orig/source/src/Makefile 1.1.0.4/source/src/Makefile
+--- 1.1.0.4.orig/source/src/Makefile 2010-11-14 18:46:24.000000000 +0000
++++ 1.1.0.4/source/src/Makefile 2012-07-10 03:43:41.110712746 +0000
+@@ -26,7 +26,7 @@
+ override CXXFLAGS+= -rdynamic
+ CLIENT_INCLUDES= $(INCLUDES) -I/usr/include `sdl-config --cflags` -idirafter ../include
+ # -lSDL_ttf
+-CLIENT_LIBS= -L../enet/.libs -lenet -L$(USRLIB) `sdl-config --libs` -lSDL_image -lz -lGL -lopenal -lvorbisfile
++CLIENT_LIBS= -L../enet/.libs -lenet -L$(USRLIB) -lX11 `sdl-config --libs` -lSDL_image -lz -lGL -lopenal -lvorbisfile
+ endif
+
+ CLIENT_OBJS= \