summaryrefslogtreecommitdiff
path: root/games/tome4/physfs_sdl.patch
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2014-03-18 13:25:37 +0700
committerErik Hanson <erik@slackbuilds.org>2014-03-21 13:01:20 -0500
commit3fb009d90efc650317c6e37f4c69d1dc0c5ffc92 (patch)
tree3d5b779e2ff96dfc213546c0c32acc23ffb04a81 /games/tome4/physfs_sdl.patch
parentd67bbd2923bb92080e284a6629b284520867cd7a (diff)
downloadslackbuilds-3fb009d90efc650317c6e37f4c69d1dc0c5ffc92.tar.gz
games/tome4: Added (Tales of Maj’Eyal - RPG game).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/tome4/physfs_sdl.patch')
-rw-r--r--games/tome4/physfs_sdl.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/games/tome4/physfs_sdl.patch b/games/tome4/physfs_sdl.patch
new file mode 100644
index 0000000000..75e2a9085d
--- /dev/null
+++ b/games/tome4/physfs_sdl.patch
@@ -0,0 +1,20 @@
+--- t-engine4-src-1.1.5/build/physfs.make.original 2014-03-17 11:20:03.904158009 +0200
++++ t-engine4-src-1.1.5/build/physfs.make 2014-03-17 11:20:43.826658909 +0200
+@@ -32,7 +32,7 @@
+ TARGETDIR = ../bin/Debug
+ TARGET = $(TARGETDIR)/libphysfs.a
+ DEFINES += -DGLEW_STATIC -DPHYSFS_SUPPORTS_ZIP
+- INCLUDES += -I../src -I../src/luasocket -I../src/fov -I../src/expat -I../src/lxp -I../src/libtcod_import -I../src/physfs -I../src/zlib -I../src/bzip2 -I/opt/SDL-2.0/include/SDL2 -I/usr/include/GL -I../src/luajit2/src -I../src/luajit2/dynasm
++ INCLUDES += -I../src -I../src/luasocket -I../src/fov -I../src/expat -I../src/lxp -I../src/libtcod_import -I../src/physfs -I../src/zlib -I../src/bzip2 -I/usr/include/SDL2 -I/usr/include/GL -I../src/luajit2/src -I../src/luajit2/dynasm
+ CPPFLAGS += -MMD -MP $(DEFINES) $(INCLUDES)
+ CFLAGS += $(CPPFLAGS) $(ARCH) -g -ggdb -O3
+ CXXFLAGS += $(CFLAGS)
+@@ -54,7 +54,7 @@
+ TARGETDIR = ../bin/Release
+ TARGET = $(TARGETDIR)/libphysfs.a
+ DEFINES += -DGLEW_STATIC -DNDEBUG=1 -DPHYSFS_SUPPORTS_ZIP
+- INCLUDES += -I../src -I../src/luasocket -I../src/fov -I../src/expat -I../src/lxp -I../src/libtcod_import -I../src/physfs -I../src/zlib -I../src/bzip2 -I/opt/SDL-2.0/include/SDL2 -I/usr/include/GL -I../src/luajit2/src -I../src/luajit2/dynasm
++ INCLUDES += -I../src -I../src/luasocket -I../src/fov -I../src/expat -I../src/lxp -I../src/libtcod_import -I../src/physfs -I../src/zlib -I../src/bzip2 -I/usr/include/SDL2 -I/usr/include/GL -I../src/luajit2/src -I../src/luajit2/dynasm
+ CPPFLAGS += -MMD -MP $(DEFINES) $(INCLUDES)
+ CFLAGS += $(CPPFLAGS) $(ARCH) -O2 -fomit-frame-pointer -O2
+ CXXFLAGS += $(CFLAGS)