diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2011-07-28 13:20:15 +0000 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2011-07-28 13:20:15 +0000 |
commit | 028ba1582b194d1a34373ef941d438997fb4aa23 (patch) | |
tree | 562a05ea083ee2c7afc9c3139cf5dccba8fc71b0 /games-strategy | |
parent | Bump to TeX Live 2011 (diff) | |
download | gentoo-2-028ba1582b194d1a34373ef941d438997fb4aa23.tar.gz gentoo-2-028ba1582b194d1a34373ef941d438997fb4aa23.tar.bz2 gentoo-2-028ba1582b194d1a34373ef941d438997fb4aa23.zip |
Fix build with debug use flag. Bug #375381
(Portage version: 2.1.10.7/cvs/Linux i686)
Diffstat (limited to 'games-strategy')
-rw-r--r-- | games-strategy/warmux/ChangeLog | 6 | ||||
-rw-r--r-- | games-strategy/warmux/files/warmux-11.04.1-gentoo.patch | 8 |
2 files changed, 9 insertions, 5 deletions
diff --git a/games-strategy/warmux/ChangeLog b/games-strategy/warmux/ChangeLog index 3da8bd45469e..e275c5f324be 100644 --- a/games-strategy/warmux/ChangeLog +++ b/games-strategy/warmux/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-strategy/warmux # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/warmux/ChangeLog,v 1.6 2011/05/05 15:30:27 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-strategy/warmux/ChangeLog,v 1.7 2011/07/28 13:20:15 tupone Exp $ + + 28 Jul 2011; Tupone Alfredo <tupone@gentoo.org> + files/warmux-11.04.1-gentoo.patch: + Fix build with debug use flag. Bug #375381 by Agostino Sarubbo (amd64 AT) *warmux-11.04.1 (05 May 2011) diff --git a/games-strategy/warmux/files/warmux-11.04.1-gentoo.patch b/games-strategy/warmux/files/warmux-11.04.1-gentoo.patch index 0121fb576d94..62d22f84c82d 100644 --- a/games-strategy/warmux/files/warmux-11.04.1-gentoo.patch +++ b/games-strategy/warmux/files/warmux-11.04.1-gentoo.patch @@ -10,19 +10,19 @@ diff -ru warmux-11.04.orig/configure.ac warmux-11.04/configure.ac # ========================================================================== # == Set flags for various environments = # ========================================================================== -@@ -348,14 +346,7 @@ +@@ -348,14 +346,9 @@ exit 1 fi -dnl === Add Werror flag for gcc/g++ if debug mode is enabled, ============== -dnl === but allow RTTI (ie dynamic_cast, typeid/typeinfo unavailable) ====== -if test "x${debug}" = "xyes"; then ++if test "x${debug}" != "xyes"; then - CFLAGS="$CFLAGS -Werror" - CXXFLAGS="$CXXFLAGS -Werror" -else -- CXXFLAGS="$CXXFLAGS -fno-rtti" --fi -+CXXFLAGS="$CXXFLAGS -fno-rtti" + CXXFLAGS="$CXXFLAGS -fno-rtti" + fi dnl === Forbid exceptions (Android platform requirement) =================== CXXFLAGS="$CXXFLAGS -fno-exceptions" |