summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2011-05-02 09:47:29 +0000
committerAlfredo Tupone <tupone@gentoo.org>2011-05-02 09:47:29 +0000
commit50242c11540afebf4b95a607010a943f71bd7330 (patch)
tree9e42d529e18f99d438413ef23f1241bc64e02c77 /media-libs/atlas-c++
parentFix for gcc46 (diff)
downloadgentoo-2-50242c11540afebf4b95a607010a943f71bd7330.tar.gz
gentoo-2-50242c11540afebf4b95a607010a943f71bd7330.tar.bz2
gentoo-2-50242c11540afebf4b95a607010a943f71bd7330.zip
Remove -Werror. Bug #362733
(Portage version: 2.1.9.46/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/atlas-c++')
-rw-r--r--media-libs/atlas-c++/ChangeLog6
-rw-r--r--media-libs/atlas-c++/atlas-c++-0.6.2.ebuild9
-rw-r--r--media-libs/atlas-c++/files/atlas-c++-0.6.2-Werror.patch15
3 files changed, 28 insertions, 2 deletions
diff --git a/media-libs/atlas-c++/ChangeLog b/media-libs/atlas-c++/ChangeLog
index 13223722251b..41af013426ad 100644
--- a/media-libs/atlas-c++/ChangeLog
+++ b/media-libs/atlas-c++/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-libs/atlas-c++
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/atlas-c++/ChangeLog,v 1.36 2011/03/14 13:32:34 tupone Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/atlas-c++/ChangeLog,v 1.37 2011/05/02 09:47:29 tupone Exp $
+
+ 02 May 2011; Tupone Alfredo <tupone@gentoo.org> atlas-c++-0.6.2.ebuild,
+ +files/atlas-c++-0.6.2-Werror.patch:
+ Remove -Werror. Bug #362733 by Diego Elio Pettenò
14 Mar 2011; Alfredo Tupone <tupone@gentoo.org> -atlas-c++-0.4.5.ebuild,
-atlas-c++-0.5.92.ebuild:
diff --git a/media-libs/atlas-c++/atlas-c++-0.6.2.ebuild b/media-libs/atlas-c++/atlas-c++-0.6.2.ebuild
index 24c9b1b3b47b..449527b83bab 100644
--- a/media-libs/atlas-c++/atlas-c++-0.6.2.ebuild
+++ b/media-libs/atlas-c++/atlas-c++-0.6.2.ebuild
@@ -1,8 +1,10 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/atlas-c++/atlas-c++-0.6.2.ebuild,v 1.5 2011/02/12 18:06:53 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/atlas-c++/atlas-c++-0.6.2.ebuild,v 1.6 2011/05/02 09:47:29 tupone Exp $
EAPI=2
+inherit eutils autotools
+
MY_PN="Atlas-C++"
MY_P=${MY_PN}-${PV}
DESCRIPTION="Atlas protocol, used in role playing games at worldforge."
@@ -20,6 +22,11 @@ DEPEND="${RDEPEND}
S=${WORKDIR}/${MY_P}
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-Werror.patch
+ eautoreconf
+}
+
src_compile() {
emake || die "Error: emake failed!"
if use doc; then
diff --git a/media-libs/atlas-c++/files/atlas-c++-0.6.2-Werror.patch b/media-libs/atlas-c++/files/atlas-c++-0.6.2-Werror.patch
new file mode 100644
index 000000000000..b13384ab5a12
--- /dev/null
+++ b/media-libs/atlas-c++/files/atlas-c++-0.6.2-Werror.patch
@@ -0,0 +1,15 @@
+--- configure.ac.old 2011-05-02 11:16:53.851733207 +0200
++++ configure.ac 2011-05-02 11:17:18.489283901 +0200
+@@ -35,10 +35,10 @@
+ if test "$enableval" = "yes"; then
+ CXXFLAGS="$CXXFLAGS -Wall -Werror -DDEBUG"
+ else
+- CXXFLAGS="$CXXFLAGS -Wall -Werror -DNDEBUG"
++ CXXFLAGS="$CXXFLAGS -Wall -DNDEBUG"
+ fi
+ ],[
+- CXXFLAGS="$CXXFLAGS -Wall -Werror -DNDEBUG"
++ CXXFLAGS="$CXXFLAGS -Wall -DNDEBUG"
+ ]
+ )
+