diff options
author | Mike Frysinger <vapier@gentoo.org> | 2003-09-09 18:10:15 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2003-09-09 18:10:15 +0000 |
commit | c22ea1f9962983b3583d00085024413d77102212 (patch) | |
tree | acd80fa59d92f27b0609b3d58893ef500cd09925 /games-fps/duke3d/files | |
parent | New version 'n cleanup (diff) | |
download | gentoo-2-c22ea1f9962983b3583d00085024413d77102212.tar.gz gentoo-2-c22ea1f9962983b3583d00085024413d77102212.tar.bz2 gentoo-2-c22ea1f9962983b3583d00085024413d77102212.zip |
games-fps uNF uNF uNF
Diffstat (limited to 'games-fps/duke3d/files')
4 files changed, 50 insertions, 0 deletions
diff --git a/games-fps/duke3d/files/20030817-buildengine-makefile-cflags.patch b/games-fps/duke3d/files/20030817-buildengine-makefile-cflags.patch new file mode 100644 index 000000000000..b8a8434bf1a6 --- /dev/null +++ b/games-fps/duke3d/files/20030817-buildengine-makefile-cflags.patch @@ -0,0 +1,13 @@ +--- Makefile.orig 2003-08-17 17:03:30.643555488 -0400 ++++ Makefile 2003-08-17 17:03:50.415549688 -0400 +@@ -195,8 +195,8 @@ + ENGINEDIR = . + ASMFLAGS = -f $(ASMOBJFMT) $(ASMDEFS) + LINKER = gcc +-CFLAGS += $(USE_ASM) -funsigned-char -O2 -DPLATFORM_UNIX -g -Wall $(SDL_CFLAGS) -fno-omit-frame-pointer +-LDFLAGS += -g $(SDL_LDFLAGS) ++CFLAGS += $(USE_ASM) $(OPTFLAGS) -funsigned-char -DPLATFORM_UNIX -Wall $(SDL_CFLAGS) -fno-omit-frame-pointer ++LDFLAGS += $(SDL_LDFLAGS) + + # Rules for turning source files into .o files + %.o: %.c diff --git a/games-fps/duke3d/files/20030817-duke3d-makefile-opts.patch b/games-fps/duke3d/files/20030817-duke3d-makefile-opts.patch new file mode 100644 index 000000000000..6f961a11eb27 --- /dev/null +++ b/games-fps/duke3d/files/20030817-duke3d-makefile-opts.patch @@ -0,0 +1,33 @@ +--- Makefile.orig 2003-08-17 17:45:35.948650760 -0400 ++++ Makefile 2003-08-17 17:46:36.894385600 -0400 +@@ -4,6 +4,8 @@ + beos := false + macosx := false + #use_asm := true ++#use_opengl := true ++#use_physfs := true + + #-----------------------------------------------------------------------------# + # If this makefile fails to detect Cygwin correctly, or you want to force +@@ -80,6 +81,10 @@ + buildengine/pragmas.o \ + buildengine/unix_compat.o + ++ifeq ($(strip $(use_opengl)),true) ++ BUILDOBJS += buildengine/buildgl.o ++endif ++ + ifeq ($(strip $(use_asm)),true) + BUILDOBJS += buildengine/a_gnu.o buildengine/a_nasm.o + else +@@ -106,6 +106,10 @@ + + LDLIBS = $(SDL_LDFLAGS) -lSDL -lSDL_mixer $(EXTRALDFLAGS) + ++ifeq ($(strip $(use_physfs)),true) ++ LDLIBS += -lphysfs ++endif ++ + # !!! FIXME: Do we even need this? It doesn't fly on MacOS X. --ryan. + #LDLIBS += -Wl,-E + diff --git a/games-fps/duke3d/files/digest-duke3d-20030817 b/games-fps/duke3d/files/digest-duke3d-20030817 new file mode 100644 index 000000000000..a590488d5228 --- /dev/null +++ b/games-fps/duke3d/files/digest-duke3d-20030817 @@ -0,0 +1 @@ +MD5 d59aad294927793c6937315844d276e7 duke3d-20030817.tbz2 1497380 diff --git a/games-fps/duke3d/files/duke3d b/games-fps/duke3d/files/duke3d new file mode 100644 index 000000000000..6845e3e01216 --- /dev/null +++ b/games-fps/duke3d/files/duke3d @@ -0,0 +1,3 @@ +#!/bin/sh +cd GENTOO_DIR +exec duke3d.bin "$@" |