From: | "Alfredo Tupone (tupone)" <tupone@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in games-arcade/holotz-castle/files: holotz-castle-1.3.10-build.patch |
Date: | Mon, 02 Feb 2009 09:43:13 |
Message-Id: | E1LTvKg-00014P-T9@stork.gentoo.org |
1 | tupone 09/02/02 09:43:10 |
2 | |
3 | Modified: holotz-castle-1.3.10-build.patch |
4 | Log: |
5 | Fix --as-needed bug #247301 |
6 | (Portage version: 2.1.6.4/cvs/Linux 2.6.27-gentoo-r8 x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.2 games-arcade/holotz-castle/files/holotz-castle-1.3.10-build.patch |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/holotz-castle/files/holotz-castle-1.3.10-build.patch?rev=1.2&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/holotz-castle/files/holotz-castle-1.3.10-build.patch?rev=1.2&content-type=text/plain |
13 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/holotz-castle/files/holotz-castle-1.3.10-build.patch?r1=1.1&r2=1.2 |
14 | |
15 | Index: holotz-castle-1.3.10-build.patch |
16 | =================================================================== |
17 | RCS file: /var/cvsroot/gentoo-x86/games-arcade/holotz-castle/files/holotz-castle-1.3.10-build.patch,v |
18 | retrieving revision 1.1 |
19 | retrieving revision 1.2 |
20 | diff -u -r1.1 -r1.2 |
21 | --- holotz-castle-1.3.10-build.patch 24 Jul 2007 19:48:33 -0000 1.1 |
22 | +++ holotz-castle-1.3.10-build.patch 2 Feb 2009 09:43:10 -0000 1.2 |
23 | @@ -47,7 +47,22 @@ |
24 | -CFLAGS=-I. -I../JLib -O3 -Wall -Werror -Wshadow $(CPU_OPTS) -ffast-math -c `$(SDL_CONFIG) --cflags` |
25 | -LDFLAGS=-L. -ffast-math -lSDL_image -lSDL_ttf -lSDL_mixer `$(SDL_CONFIG) --libs` |
26 | +CFLAGS=-I. -I../JLib $(CPU_OPTS) -c `$(SDL_CONFIG) --cflags` |
27 | -+LDFLAGS=-L. -lSDL_image -lSDL_ttf -lSDL_mixer `$(SDL_CONFIG) --libs` |
28 | ++LDLIBS=-L. -lSDL_image -lSDL_ttf -lSDL_mixer `$(SDL_CONFIG) --libs` |
29 | |
30 | |
31 | JLib: |
32 | +@@ -53,12 +53,12 @@ |
33 | + g++ $(CFLAGS) $(DEFINES) $< -o $@ |
34 | + |
35 | + HC: $(HC_OBJS) $(HC_OBJ_MAIN) ../JLib/libJLib.a |
36 | +- g++ $(LDFLAGS) $? -o $@;\ |
37 | ++ g++ $(LDFLAGS) $? $(LDLIBS) -o $@;\ |
38 | + mv HC ../holotz-castle |
39 | + |
40 | + # HCed (Holotz's Castle editor). |
41 | + HCed: $(HC_OBJS) $(HCED_OBJ_MAIN) ../JLib/libJLib.a |
42 | +- g++ $(LDFLAGS) $? -o $@;\ |
43 | ++ g++ $(LDFLAGS) $? $(LDLIBS) -o $@;\ |
44 | + mv HCed ../holotz-castle-editor |
45 | + |
46 | + install: |