diff options
author | 2009-09-02 19:29:22 +0000 | |
---|---|---|
committer | 2009-09-02 19:29:22 +0000 | |
commit | 050043db3a0f19bbcfb8b04496fbcec79c6176c9 (patch) | |
tree | a8051b5f4b92c641094fb909a2c11330608f014c /games-fps/warsow/files | |
parent | Remove mask for OpenOffice.org 3.1.1, released (diff) | |
download | gentoo-2-050043db3a0f19bbcfb8b04496fbcec79c6176c9.tar.gz gentoo-2-050043db3a0f19bbcfb8b04496fbcec79c6176c9.tar.bz2 gentoo-2-050043db3a0f19bbcfb8b04496fbcec79c6176c9.zip |
Version bump, bug #283168
(Portage version: 2.2_rc40/cvs/Linux x86_64)
Diffstat (limited to 'games-fps/warsow/files')
-rw-r--r-- | games-fps/warsow/files/warsow-0.5-build.patch | 92 | ||||
-rw-r--r-- | games-fps/warsow/files/warsow-0.5-openal.patch | 11 |
2 files changed, 103 insertions, 0 deletions
diff --git a/games-fps/warsow/files/warsow-0.5-build.patch b/games-fps/warsow/files/warsow-0.5-build.patch new file mode 100644 index 000000000000..84666db65b5f --- /dev/null +++ b/games-fps/warsow/files/warsow-0.5-build.patch @@ -0,0 +1,92 @@ +--- libsrcs/angelscript/angelSVN/sdk/angelscript/projects/gnuc/makefile ++++ libsrcs/angelscript/angelSVN/sdk/angelscript/projects/gnuc/makefile +@@ -12,8 +12,8 @@ + INCDIR = ../../include + OBJDIR = obj + +-CXX = gcc +-CXXFLAGS = -g -Wall -fPIC ++CC ?= gcc ++CFLAGS += -Wall -fPIC -fno-strict-aliasing + DELETER = rm -f + COPIER = cp + +@@ -59,13 +59,13 @@ + all: $(BIN) + + $(BIN): $(OBJ) +- ar r $(BIN) $(OBJ) +- ranlib $(BIN) ++ $(AR) r $(BIN) $(OBJ) ++ $(RANLIB) $(BIN) + @echo ------------------------------------------------------------------- + @echo Done. As root, type 'make install' to install the library. + + $(OBJDIR)/%.o: $(SRCDIR)/%.cpp +- $(CXX) $(CXXFLAGS) -o $@ -c $< ++ $(CC) $(CFLAGS) -o $@ -c $< + + + clean: +--- source/Makefile ++++ source/Makefile +@@ -52,7 +52,7 @@ + #LD=gcc + else + CC?=gcc +-LD=gcc ++LD=$(CC) + + # this nice line comes from the linux kernel makefile + BASE_ARCH:=$(shell uname -m | sed -e s/i.86/i386/ -e s/sun4u/sparc/ -e s/sparc64/sparc/ -e s/arm.*/arm/ -e s/sa110/arm/ -e s/alpha/axp/) +@@ -134,9 +134,9 @@ + LOCALBASE?=/usr/local + X11BASE?=/usr/X11R6 + +-CFLAGS_COMMON=$(CFLAGS) -pipe -I. -I$(LOCALBASE)/include -I$(X11BASE)/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Wall +-CFLAGS_RELEASE=-O2 -fno-strict-aliasing -ffast-math -funroll-loops -DNDEBUG +-CFLAGS_DEBUG=-O0 -ggdb -D_DEBUG ++CFLAGS_COMMON=$(CFLAGS) -I. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Wall -fno-strict-aliasing ++CFLAGS_RELEASE=-DNDEBUG ++CFLAGS_DEBUG=-D_DEBUG + ifeq ($(DEBUG_BUILD),YES) + CFLAGS_COMMON+=$(CFLAGS_DEBUG) + else +@@ -152,7 +152,7 @@ + ifeq ($(OS),FreeBSD) + LDFLAGS_COMMON=-L/usr/local/lib -lm -pthread + else +-LDFLAGS_COMMON=-L/usr/local/lib -ldl -lm -Wl -O1 --as-needed ++LDFLAGS_COMMON=$(LDFLAGS) -ldl -lm + endif + + ifeq ($(ARCH),x86_64) +@@ -168,7 +168,7 @@ + + # openal + ifeq ($(BUILD_SND_OPENAL),YES) +-OPENAL_CONFIG?=openal-config ++OPENAL_CONFIG?=pkg-config openal + + CFLAGS_OPENAL=$(shell $(OPENAL_CONFIG) --cflags) + LDFLAGS_OPENAL=-lvorbisfile +@@ -400,16 +400,16 @@ + + all: client openal qf ded cgame game ui irc angelwrap tv_server + +-client: $(BUILDDIRS) message-client compile-client link-client start-script-client ++client: $(BUILDDIRS) message-client compile-client link-client + openal: $(BUILDDIRS) message-openal compile-openal link-openal + qf: $(BUILDDIRS) message-qf compile-qf link-qf +-ded: $(BUILDDIRS) message-ded compile-ded link-ded start-script-ded ++ded: $(BUILDDIRS) message-ded compile-ded link-ded + cgame: $(BUILDDIRS) message-cgame compile-cgame link-cgame + game: $(BUILDDIRS) message-game compile-game link-game + ui: $(BUILDDIRS) message-ui compile-ui link-ui + irc: $(BUILDDIRS) message-irc compile-irc link-irc + angelwrap: $(BUILDDIRS) message-angelwrap compile-angelwrap link-angelwrap +-tv_server: $(BUILDDIRS) message-tv_server compile-tv_server link-tv_server start-script-tv_server ++tv_server: $(BUILDDIRS) message-tv_server compile-tv_server link-tv_server + + clean: clean-msg clean-depend clean-client clean-openal clean-qf clean-ded clean-cgame clean-game clean-ui clean-irc clean-angelwrap clean-tv_server + diff --git a/games-fps/warsow/files/warsow-0.5-openal.patch b/games-fps/warsow/files/warsow-0.5-openal.patch new file mode 100644 index 000000000000..21f9f6e9eb5d --- /dev/null +++ b/games-fps/warsow/files/warsow-0.5-openal.patch @@ -0,0 +1,11 @@ +--- source/snd_openal/snd_main.c ++++ source/snd_openal/snd_main.c +@@ -231,7 +231,7 @@ + #define ALDRIVER "/System/Library/Frameworks/OpenAL.framework/OpenAL" + #define ALDEVICE_DEFAULT NULL + #else +-#define ALDRIVER "libopenal.so.0" ++#define ALDRIVER "libopenal.so" + #define ALDEVICE_DEFAULT NULL + #endif + |