summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-rpg/egoboo/files/egoboo-2.7.4-enet.patch')
-rw-r--r--games-rpg/egoboo/files/egoboo-2.7.4-enet.patch23
1 files changed, 23 insertions, 0 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
new file mode 100644
index 000000000000..82a9f8c5025f
--- /dev/null
+++ b/games-rpg/egoboo/files/egoboo-2.7.4-enet.patch
@@ -0,0 +1,23 @@
+--- 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
+ 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.. ${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}: ${EGO_OBJ}
+ ${CC} -o $@ $^ ${LDFLAGS}
+
+ install: ${EGO_BIN}