From: | "Alfredo Tupone (tupone)" <tupone@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in games-strategy/warmux/files: warmux-11.04.1-gentoo.patch |
Date: | Thu, 28 Jul 2011 13:20:25 |
Message-Id: | 20110728132015.7C0CE20051@flycatcher.gentoo.org |
1 | tupone 11/07/28 13:20:15 |
2 | |
3 | Modified: warmux-11.04.1-gentoo.patch |
4 | Log: |
5 | Fix build with debug use flag. Bug #375381 |
6 | |
7 | (Portage version: 2.1.10.7/cvs/Linux i686) |
8 | |
9 | Revision Changes Path |
10 | 1.2 games-strategy/warmux/files/warmux-11.04.1-gentoo.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/warmux/files/warmux-11.04.1-gentoo.patch?rev=1.2&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/warmux/files/warmux-11.04.1-gentoo.patch?rev=1.2&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/warmux/files/warmux-11.04.1-gentoo.patch?r1=1.1&r2=1.2 |
15 | |
16 | Index: warmux-11.04.1-gentoo.patch |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/games-strategy/warmux/files/warmux-11.04.1-gentoo.patch,v |
19 | retrieving revision 1.1 |
20 | retrieving revision 1.2 |
21 | diff -u -r1.1 -r1.2 |
22 | --- warmux-11.04.1-gentoo.patch 5 May 2011 15:30:27 -0000 1.1 |
23 | +++ warmux-11.04.1-gentoo.patch 28 Jul 2011 13:20:15 -0000 1.2 |
24 | @@ -10,19 +10,19 @@ |
25 | # ========================================================================== |
26 | # == Set flags for various environments = |
27 | # ========================================================================== |
28 | -@@ -348,14 +346,7 @@ |
29 | +@@ -348,14 +346,9 @@ |
30 | exit 1 |
31 | fi |
32 | |
33 | -dnl === Add Werror flag for gcc/g++ if debug mode is enabled, ============== |
34 | -dnl === but allow RTTI (ie dynamic_cast, typeid/typeinfo unavailable) ====== |
35 | -if test "x${debug}" = "xyes"; then |
36 | ++if test "x${debug}" != "xyes"; then |
37 | - CFLAGS="$CFLAGS -Werror" |
38 | - CXXFLAGS="$CXXFLAGS -Werror" |
39 | -else |
40 | -- CXXFLAGS="$CXXFLAGS -fno-rtti" |
41 | --fi |
42 | -+CXXFLAGS="$CXXFLAGS -fno-rtti" |
43 | + CXXFLAGS="$CXXFLAGS -fno-rtti" |
44 | + fi |
45 | |
46 | dnl === Forbid exceptions (Android platform requirement) =================== |
47 | CXXFLAGS="$CXXFLAGS -fno-exceptions" |