diff options
Diffstat (limited to 'games-arcade/opentyrian/files/20090702-datapath.diff')
-rw-r--r-- | games-arcade/opentyrian/files/20090702-datapath.diff | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/games-arcade/opentyrian/files/20090702-datapath.diff b/games-arcade/opentyrian/files/20090702-datapath.diff new file mode 100644 index 000000000000..53ca3e8c789e --- /dev/null +++ b/games-arcade/opentyrian/files/20090702-datapath.diff @@ -0,0 +1,23 @@ +--- opentyrian/Makefile.orig 2009-07-02 23:19:47.000000000 +0100 ++++ opentyrian/Makefile 2009-07-02 23:20:27.000000000 +0100 +@@ -54,6 +54,9 @@ + CFLAGS += -DSVN_REV=\"$(SVN_REV)\" + endif + ++ifneq ($(DATA_PATH), ) ++ CFLAGS += -DDATA_PATH=\"$(DATA_PATH)\" ++endif + #################################################### + + all : $(TARGET) +--- opentyrian/src/error.c.orig 2009-07-02 23:17:00.000000000 +0100 ++++ opentyrian/src/error.c 2009-07-02 23:21:01.000000000 +0100 +@@ -33,7 +33,7 @@ + JE_boolean dont_die = false; + + #ifndef TARGET_MACOSX +-static const char *tyrian_searchpaths[] = { "data", "tyrian", "tyrian21" }; ++static const char *tyrian_searchpaths[] = { DATA_PATH , "data", "tyrian", "tyrian21" }; + #endif + + JE_longint JE_getFileSize( const char *filename ) |