aboutsummaryrefslogtreecommitdiff
path: root/games/assaultcube/Makefile.patch
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja[at]gmail[dot]com>2010-08-25 20:35:14 -0400
committerErik Hanson <erik@slackbuilds.org>2010-08-29 15:32:12 -0500
commit5875a1eacd7c5d2fa6c835a554bf6a52195cde72 (patch)
treeca39aad581ec08a834c7a4b9ebd3b97db5dff624 /games/assaultcube/Makefile.patch
parent79131597cb797f0f254bfe7cf0ad4544b8a9d91b (diff)
games/assaultcube: Updated for version 1.1.0.1.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'games/assaultcube/Makefile.patch')
-rw-r--r--games/assaultcube/Makefile.patch36
1 files changed, 9 insertions, 27 deletions
diff --git a/games/assaultcube/Makefile.patch b/games/assaultcube/Makefile.patch
index d655376c7c4be..00cbf222f543a 100644
--- a/games/assaultcube/Makefile.patch
+++ b/games/assaultcube/Makefile.patch
@@ -1,28 +1,10 @@
-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)
+diff -Naur 1.1.0.0.orig/source/src/Makefile 1.1.0.0/source/src/Makefile
+--- 1.1.0.0.orig/source/src/Makefile 2010-08-03 17:33:18.000000000 +0000
++++ 1.1.0.0/source/src/Makefile 2010-08-05 23:42:36.631639906 +0000
+@@ -1,5 +1,5 @@
+ //CXX=g++-gcc-4.2.3
+-CXXFLAGS= -O3 -fomit-frame-pointer
++CXXFLAGS= $(EXTRA_CXXFLAGS) -fomit-frame-pointer
+ override CXXFLAGS+= -Wall -fsigned-char
- 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
+ PLATFORM= $(shell uname -s)