diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2010-02-21 11:20:13 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2010-02-21 11:20:13 +0000 |
commit | ce43200e7861c6f5ddd6da67d03162c6d51a5f72 (patch) | |
tree | 15c296a324a1e0ba935043adca6a651e41d2ddb4 /games-rpg/egoboo/files | |
parent | Add upstream patch for compatibility with newer imagemagick versions, fixes #... (diff) | |
download | historical-ce43200e7861c6f5ddd6da67d03162c6d51a5f72.tar.gz historical-ce43200e7861c6f5ddd6da67d03162c6d51a5f72.tar.bz2 historical-ce43200e7861c6f5ddd6da67d03162c6d51a5f72.zip |
touchups
Package-Manager: portage-2.1.7.16/cvs/Linux i686
Diffstat (limited to 'games-rpg/egoboo/files')
-rw-r--r-- | games-rpg/egoboo/files/egoboo-2.7.4-enet.patch | 92 |
1 files changed, 74 insertions, 18 deletions
diff --git a/games-rpg/egoboo/files/egoboo-2.7.4-enet.patch b/games-rpg/egoboo/files/egoboo-2.7.4-enet.patch index 82a9f8c5025f..ded70622d013 100644 --- a/games-rpg/egoboo/files/egoboo-2.7.4-enet.patch +++ b/games-rpg/egoboo/files/egoboo-2.7.4-enet.patch @@ -1,23 +1,79 @@ ---- game/Makefile.unix.old 2010-02-20 22:53:56.000000000 +0100 -+++ game/Makefile.unix 2010-02-20 22:56:07.000000000 +0100 -@@ -22,16 +22,16 @@ - - CC := gcc +diff -ur egoboo-2.7.4.orig/game/Makefile.unix egoboo-2.7.4/game/Makefile.unix +--- egoboo-2.7.4.orig/game/Makefile.unix 2009-07-03 05:36:02.000000000 -0400 ++++ egoboo-2.7.4/game/Makefile.unix 2010-02-21 06:11:32.096511264 -0500 +@@ -1,5 +1,5 @@ +-# note if you change the prefix also update egoboo.sh
+-PREFIX := ${HOME}/.local
++# note if you change the prefix also update egoboo.sh ++PREFIX := ${HOME}/.local + EGO_SRC := camera.c char.c client.c clock.c configfile.c egoboo_endian.c \ + egoboo_fileutil.c egoboo_math.c egoboo_setup.c egoboo_strutil.c \ + enchant.c file_common.c file_linux.c font.c game.c graphic.c\ +@@ -9,36 +9,35 @@ + egoboo_console.c script_functions.c mad.c mpd.c egoboo_typedef.c \ + ogl_texture.c ogl_extensions.c ogl_include.c ogl_debug.c \ + SDL_extensions.c SDL_GL_extensions.c mesh.c +-
+-EGO_OBJ := ${EGO_SRC:.c=.o}
+-ENET_SRC := ../enet/host.c ../enet/list.c ../enet/memory.c \
+- ../enet/packet.c ../enet/peer.c ../enet/protocol.c \
+- ../enet/unix.c
+-ENET_OBJ := ${ENET_SRC:.c=.o}
+-
+-SDL_CONF := sdl-config
+-SDLCONF_I := $(shell ${SDL_CONF} --cflags)
+-SDLCONF_L := $(shell ${SDL_CONF} --libs)
+-
+-CC := gcc
++ ++EGO_OBJ := ${EGO_SRC:.c=.o} ++ENET_SRC := ../enet/host.c ../enet/list.c ../enet/memory.c \ ++ ../enet/packet.c ../enet/peer.c ../enet/protocol.c \ ++ ../enet/unix.c ++ENET_OBJ := ${ENET_SRC:.c=.o} ++ ++SDL_CONF := sdl-config ++SDLCONF_I := $(shell ${SDL_CONF} --cflags) ++SDLCONF_L := $(shell ${SDL_CONF} --libs) ++ OPT := -Os -Wall --INC := -I. -I../enet/include -I.. ${SDLCONF_I} --CFLAGS := ${OPT} ${INC} --LDFLAGS := ${SDLCONF_L} -lSDL_ttf -lSDL_mixer -lGL -lGLU -lSDL_image +-INC := -I. -I../enet/include -I.. ${SDLCONF_I}
+-CFLAGS := ${OPT} ${INC}
+-LDFLAGS := ${SDLCONF_L} -lSDL_ttf -lSDL_mixer -lGL -lGLU -lSDL_image
+-
+-EGO_BIN := egoboo
+-
+-all: ${EGO_BIN}
+-
+-
+-${EGO_BIN}: ${EGO_OBJ} ${ENET_OBJ}
+- ${CC} -o $@ $^ ${LDFLAGS}
+-
+-install: ${EGO_BIN}
+- mkdir -p ${PREFIX}/bin
+- mkdir -p ${PREFIX}/libexec
+- install -m 755 ${EGO_BIN} ${PREFIX}/libexec
+- install -p -m 755 ${EGO_BIN}.sh ${PREFIX}/bin/${EGO_BIN}
+-
+-clean:
+- rm -f ${ENET_OBJ} ${EGO_OBJ} ${EGO_BIN}
+INC := -I. -I.. ${SDLCONF_I} -DENET11 +CFLAGS := ${CFLAGS} ${INC} +LDFLAGS := ${SDLCONF_L} -lenet -lSDL_ttf -lSDL_mixer -lGL -lGLU -lSDL_image - - EGO_BIN := egoboo - - all: ${EGO_BIN} - - --${EGO_BIN}: ${EGO_OBJ} ${ENET_OBJ} ++ ++EGO_BIN := egoboo ++ ++all: ${EGO_BIN} ++ ++ +${EGO_BIN}: ${EGO_OBJ} - ${CC} -o $@ $^ ${LDFLAGS} - - install: ${EGO_BIN} ++ ${CC} -o $@ $^ ${LDFLAGS} ++ ++install: ${EGO_BIN} ++ mkdir -p ${PREFIX}/bin ++ mkdir -p ${PREFIX}/libexec ++ install -m 755 ${EGO_BIN} ${PREFIX}/libexec ++ install -p -m 755 ${EGO_BIN}.sh ${PREFIX}/bin/${EGO_BIN} ++ ++clean: ++ rm -f ${ENET_OBJ} ${EGO_OBJ} ${EGO_BIN} |