diff options
author | Larry Hajali <larryhaja[at]gmail[dot]com> | 2010-05-13 00:58:06 +0200 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-13 00:58:06 +0200 |
commit | 3e0f09fb81fee4ed33861ab0dc5996128711c478 (patch) | |
tree | ebc624b6cfb7c874aed81f2e4239af56461e0dec /games/assaultcube/Makefile.patch | |
parent | 436ac22550e0c596636a09c93e6742bd6ddeafdc (diff) |
games/assaultcube: Added to 13.0 repository
Diffstat (limited to 'games/assaultcube/Makefile.patch')
-rw-r--r-- | games/assaultcube/Makefile.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/games/assaultcube/Makefile.patch b/games/assaultcube/Makefile.patch new file mode 100644 index 0000000000000..d655376c7c4be --- /dev/null +++ b/games/assaultcube/Makefile.patch @@ -0,0 +1,28 @@ +diff -Naur update.orig/source/src/Makefile update/source/src/Makefile +--- update.orig/source/src/Makefile 2009-02-14 16:02:36.000000000 +0000 ++++ update/source/src/Makefile 2009-06-29 16:57:39.000000000 +0000 +@@ -1,12 +1,12 @@ +-CXXOPTFLAGS=-O3 -fomit-frame-pointer +-INCLUDES1=-I/usr/X11R6/include -I../enet/include -I../src ++CXXOPTFLAGS?=-O3 -fomit-frame-pointer ++INCLUDES1=-I../enet/include -I/usr/X11R6/include -I../src + INCLUDES2=`sdl-config --cflags` + CXXCUSTOMFLAGS=-fsigned-char -Wall -Wextra -Wno-missing-field-initializers -Wno-unused -Wpointer-arith -Wwrite-strings -Wconversion -rdynamic + CXXFLAGS=$(CXXOPTFLAGS) $(INCLUDES1) $(INCLUDES2) $(CUSTOMFLAGS) + CXXFLAGSSERVER=$(CXXOPTFLAGS) $(INCLUDES1) $(CUSTOMFLAGS) + + PLATFORM_PREFIX=native +-CLIENT_LIBS=-L/usr/X11R6/lib -L../enet -lenet `sdl-config --libs` -lSDL_image -lz -lGL -lopenal -lvorbisfile ++CLIENT_LIBS=-L../enet -lenet -L/usr/X11R6/lib `sdl-config --libs` -lSDL_image -lz -lGL -lopenal -lvorbisfile + CLIENT_OBJS1= \ + client.o \ + clientgame.o \ +@@ -69,7 +69,7 @@ + all: libenet client server + + ../enet/Makefile: +- cd ../enet; ./configure ++ cd ../enet; ./configure --enable-crc32 + + libenet: ../enet/Makefile + -$(MAKE) -C ../enet all |