1 |
mr_bones_ 08/03/02 07:58:10 |
2 |
|
3 |
Added: boswars-2.5-gentoo.patch |
4 |
Log: |
5 |
version bump |
6 |
(Portage version: 2.1.4.4) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 games-strategy/boswars/files/boswars-2.5-gentoo.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/boswars/files/boswars-2.5-gentoo.patch?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/boswars/files/boswars-2.5-gentoo.patch?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: boswars-2.5-gentoo.patch |
15 |
=================================================================== |
16 |
--- engine/include/stratagus.h.old 2007-08-04 21:54:17.000000000 +0200 |
17 |
+++ engine/include/stratagus.h 2007-08-04 21:55:20.000000000 +0200 |
18 |
@@ -188,7 +188,7 @@ |
19 |
extern char NameLine[]; |
20 |
|
21 |
#ifndef STRATAGUS_LIB_PATH |
22 |
-#define STRATAGUS_LIB_PATH "." /// Where to find the data files |
23 |
+#define STRATAGUS_LIB_PATH "@GENTOO_DATADIR@" /// Where to find the data files |
24 |
#endif |
25 |
|
26 |
#ifndef STRATAGUS_HOME_PATH |
27 |
--- SConstruct.orig 2007-08-10 20:00:53.000000000 -0400 |
28 |
+++ SConstruct 2007-08-10 20:11:07.000000000 -0400 |
29 |
@@ -183,14 +183,8 @@ |
30 |
return 0 |
31 |
|
32 |
lualibfound = 0 |
33 |
- if conf.CheckFunc('luaopen_base'): |
34 |
+ if conf.CheckLibWithHeader('lua', 'lualib.h', 'c'): |
35 |
return 1 |
36 |
- if conf.CheckLibWithHeader('lualib', 'lualib.h', 'c'): |
37 |
- lualibfound = 1 |
38 |
- elif conf.CheckLibWithHeader('lualib50', 'lualib.h', 'c'): |
39 |
- lualibfound = 1 |
40 |
- elif conf.CheckLibWithHeader('lualib5.0', 'lualib.h', 'c'): |
41 |
- lualibfound = 1 |
42 |
# the lua library should be after lualib |
43 |
env["LIBS"].remove(found) |
44 |
env.Append(LIBS = found) |
45 |
|
46 |
|
47 |
|
48 |
-- |
49 |
gentoo-commits@l.g.o mailing list |