1 |
chainsaw 09/04/23 22:53:32 |
2 |
|
3 |
Added: 20090423-datapath.diff |
4 |
Removed: 20081211-datapath.diff |
5 |
Log: |
6 |
New snapshot, upstream has improved the loudness (music) code. Delete old ebuild. |
7 |
(Portage version: 2.1.6.11/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 games-arcade/opentyrian/files/20090423-datapath.diff |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/opentyrian/files/20090423-datapath.diff?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/opentyrian/files/20090423-datapath.diff?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: 20090423-datapath.diff |
16 |
=================================================================== |
17 |
diff -uNr opentyrian.ORIG/Makefile opentyrian/Makefile |
18 |
--- opentyrian.ORIG/Makefile 2009-04-23 20:15:21.000000000 +0100 |
19 |
+++ opentyrian/Makefile 2009-04-23 20:15:45.000000000 +0100 |
20 |
@@ -51,6 +51,9 @@ |
21 |
CFLAGS += -DSVN_REV=\"$(SVN_REV)\" |
22 |
endif |
23 |
|
24 |
+ifneq ($(DATA_PATH), ) |
25 |
+ CFLAGS += -DDATA_PATH=\"$(DATA_PATH)\" |
26 |
+endif |
27 |
#################################################### |
28 |
|
29 |
all : $(TARGET) |
30 |
diff -uNr opentyrian.ORIG/src/error.c opentyrian/src/error.c |
31 |
--- opentyrian.ORIG/src/error.c 2009-04-23 20:15:21.000000000 +0100 |
32 |
+++ opentyrian/src/error.c 2009-04-23 20:15:45.000000000 +0100 |
33 |
@@ -37,7 +37,7 @@ |
34 |
char err_msg[1000] = "No error!?"; |
35 |
|
36 |
#ifndef TARGET_MACOSX |
37 |
-static const char *tyrian_searchpaths[] = { "data", "tyrian", "tyrian2k" }; |
38 |
+static const char *tyrian_searchpaths[] = { DATA_PATH , "data", "tyrian", "tyrian2k" }; |
39 |
#endif |
40 |
|
41 |
long get_stream_size( FILE *f ) |