summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Cardona <remi@gentoo.org>2008-05-02 08:52:24 +0000
committerRémi Cardona <remi@gentoo.org>2008-05-02 08:52:24 +0000
commit612e6aeb9ab6ddfc06281cf884e63c3146b58ec5 (patch)
tree0c8acb98d9fad566ec8f154b64b56365664834b1
parentgnome-extra/yelp: fix parallel make, see bug #217250 (diff)
downloadgentoo-2-612e6aeb9ab6ddfc06281cf884e63c3146b58ec5.tar.gz
gentoo-2-612e6aeb9ab6ddfc06281cf884e63c3146b58ec5.tar.bz2
gentoo-2-612e6aeb9ab6ddfc06281cf884e63c3146b58ec5.zip
dev-cpp/libxmlpp-1.0.5: gcc 4.3 build fix, see bug #218779
(Portage version: 2.1.5_rc6)
-rw-r--r--dev-cpp/libxmlpp/ChangeLog6
-rw-r--r--dev-cpp/libxmlpp/files/libxmlpp-1.0.5-gcc43.patch11
-rw-r--r--dev-cpp/libxmlpp/libxmlpp-1.0.5.ebuild9
3 files changed, 24 insertions, 2 deletions
diff --git a/dev-cpp/libxmlpp/ChangeLog b/dev-cpp/libxmlpp/ChangeLog
index 41806241c6ce..336d97de7691 100644
--- a/dev-cpp/libxmlpp/ChangeLog
+++ b/dev-cpp/libxmlpp/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-cpp/libxmlpp
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-cpp/libxmlpp/ChangeLog,v 1.66 2008/04/12 08:35:02 remi Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/libxmlpp/ChangeLog,v 1.67 2008/05/02 08:52:24 remi Exp $
+
+ 02 May 2008; Rémi Cardona <remi@gentoo.org>
+ +files/libxmlpp-1.0.5-gcc43.patch, libxmlpp-1.0.5.ebuild:
+ gcc 4.3 build fix, see bug #218779
12 Apr 2008; Rémi Cardona <remi@gentoo.org> Manifest:
fix manifest, bug #215451
diff --git a/dev-cpp/libxmlpp/files/libxmlpp-1.0.5-gcc43.patch b/dev-cpp/libxmlpp/files/libxmlpp-1.0.5-gcc43.patch
new file mode 100644
index 000000000000..bbc7dafb5e02
--- /dev/null
+++ b/dev-cpp/libxmlpp/files/libxmlpp-1.0.5-gcc43.patch
@@ -0,0 +1,11 @@
+--- libxml++-1.0.4.orig/libxml++/parsers/parser.cc
++++ libxml++-1.0.4/libxml++/parsers/parser.cc
+@@ -9,6 +9,7 @@
+ #include <libxml/parser.h>
+
+ #include <cstdarg> //For va_list.
++#include <memory> //For auto_ptr
+
+ namespace xmlpp {
+
+
diff --git a/dev-cpp/libxmlpp/libxmlpp-1.0.5.ebuild b/dev-cpp/libxmlpp/libxmlpp-1.0.5.ebuild
index 9398c44e13f5..0f809ecb9955 100644
--- a/dev-cpp/libxmlpp/libxmlpp-1.0.5.ebuild
+++ b/dev-cpp/libxmlpp/libxmlpp-1.0.5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-cpp/libxmlpp/libxmlpp-1.0.5.ebuild,v 1.3 2008/03/27 22:35:07 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/libxmlpp/libxmlpp-1.0.5.ebuild,v 1.4 2008/05/02 08:52:24 remi Exp $
inherit gnome2 eutils
@@ -24,6 +24,13 @@ DEPEND="${RDEPEND}
MAKEOPTS="${MAKEOPTS} -j1"
DOCS="AUTHORS ChangeLog NEWS README*"
+src_unpack() {
+ gnome2_src_unpack
+
+ # gcc 4.3 build fix, see bug #218779
+ epatch "${FILESDIR}/${PN}-1.0.5-gcc43.patch"
+}
+
src_install() {
gnome2_src_install
dosed -i 's|^\(Cflags.*-I.* \)-I.*$|\1|' \