Gentoo Archives: gentoo-commits

From: "Tony Vroon (chainsaw)" <chainsaw@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in games-arcade/opentyrian/files: 20090222-datapath.diff
Date: Sun, 01 Mar 2009 12:45:37
Message-Id: E1Ldl32-0005KF-DQ@stork.gentoo.org
1 chainsaw 09/03/01 12:45:36
2
3 Added: 20090222-datapath.diff
4 Log:
5 Version bump to new snapshot.
6 (Portage version: 2.1.6.7/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.1 games-arcade/opentyrian/files/20090222-datapath.diff
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/opentyrian/files/20090222-datapath.diff?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/opentyrian/files/20090222-datapath.diff?rev=1.1&content-type=text/plain
13
14 Index: 20090222-datapath.diff
15 ===================================================================
16 diff -uNr opentyrian.ORIG/Makefile opentyrian/Makefile
17 --- opentyrian.ORIG/Makefile 2009-03-01 12:09:16.000000000 +0000
18 +++ opentyrian/Makefile 2009-03-01 12:09:55.000000000 +0000
19 @@ -51,6 +51,9 @@
20 CFLAGS += -DSVN_REV=\"$(SVN_REV)\"
21 endif
22
23 +ifneq ($(DATA_PATH), )
24 + CFLAGS += -DDATA_PATH=\"$(DATA_PATH)\"
25 +endif
26 ####################################################
27
28 all : $(TARGET)
29 diff -uNr opentyrian.ORIG/src/error.c opentyrian/src/error.c
30 --- opentyrian.ORIG/src/error.c 2009-03-01 12:09:16.000000000 +0000
31 +++ opentyrian/src/error.c 2009-03-01 12:09:55.000000000 +0000
32 @@ -37,7 +37,7 @@
33 char err_msg[1000] = "No error!?";
34
35 #ifndef TARGET_MACOSX
36 -static const char *tyrian_searchpaths[] = { "data", "tyrian", "tyrian2k" };
37 +static const char *tyrian_searchpaths[] = { DATA_PATH , "data", "tyrian", "tyrian2k" };
38 #endif
39
40 long get_stream_size( FILE *f )