summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiziano Müller <dev-zero@gentoo.org>2008-05-01 00:45:44 +0000
committerTiziano Müller <dev-zero@gentoo.org>2008-05-01 00:45:44 +0000
commit840ef3616210c5cf92b6f901c7325b2d58d1f51b (patch)
treec3e3a98e3692e8025bfd3b6440cfb19213b53ec4 /dev-libs/xmlwrapp
parentAdded compile fix for gcc-4.3 (bug #216232, thanks to Martin Väth). (diff)
downloadgentoo-2-840ef3616210c5cf92b6f901c7325b2d58d1f51b.tar.gz
gentoo-2-840ef3616210c5cf92b6f901c7325b2d58d1f51b.tar.bz2
gentoo-2-840ef3616210c5cf92b6f901c7325b2d58d1f51b.zip
Added patch for gcc-4.3 (bug #216267, thanks to jkt)
(Portage version: 2.1.5_rc6)
Diffstat (limited to 'dev-libs/xmlwrapp')
-rw-r--r--dev-libs/xmlwrapp/ChangeLog6
-rw-r--r--dev-libs/xmlwrapp/files/xmlwrapp-0.5.0-gcc-4.3.patch10
-rw-r--r--dev-libs/xmlwrapp/xmlwrapp-0.5.0-r1.ebuild11
3 files changed, 21 insertions, 6 deletions
diff --git a/dev-libs/xmlwrapp/ChangeLog b/dev-libs/xmlwrapp/ChangeLog
index dd83056f94a5..c3c097895934 100644
--- a/dev-libs/xmlwrapp/ChangeLog
+++ b/dev-libs/xmlwrapp/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-libs/xmlwrapp
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/xmlwrapp/ChangeLog,v 1.31 2008/01/20 17:11:06 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/xmlwrapp/ChangeLog,v 1.32 2008/05/01 00:45:43 dev-zero Exp $
+
+ 01 May 2008; Tiziano Müller <dev-zero@gentoo.org>
+ +files/xmlwrapp-0.5.0-gcc-4.3.patch, xmlwrapp-0.5.0-r1.ebuild:
+ Added patch for gcc-4.3 (bug #216267, thanks to jkt)
20 Jan 2008; Brent Baude <ranger@gentoo.org> xmlwrapp-0.5.0-r1.ebuild:
Marking xmlwrapp-0.5.0-r1 ~ppc64 for bug 191688
diff --git a/dev-libs/xmlwrapp/files/xmlwrapp-0.5.0-gcc-4.3.patch b/dev-libs/xmlwrapp/files/xmlwrapp-0.5.0-gcc-4.3.patch
new file mode 100644
index 000000000000..dba843f520d2
--- /dev/null
+++ b/dev-libs/xmlwrapp/files/xmlwrapp-0.5.0-gcc-4.3.patch
@@ -0,0 +1,10 @@
+--- src/libxml/node.cxx.orig 2008-04-05 02:55:35.804091000 +0200
++++ src/libxml/node.cxx 2008-04-05 03:09:21.170667965 +0200
+@@ -51,6 +51,7 @@
+ #include <algorithm>
+ #include <stdexcept>
+ #include <functional>
++#include <cstring>
+
+ // libxml includes
+ #include <libxml/tree.h>
diff --git a/dev-libs/xmlwrapp/xmlwrapp-0.5.0-r1.ebuild b/dev-libs/xmlwrapp/xmlwrapp-0.5.0-r1.ebuild
index 522945b076c0..41b459b1f102 100644
--- a/dev-libs/xmlwrapp/xmlwrapp-0.5.0-r1.ebuild
+++ b/dev-libs/xmlwrapp/xmlwrapp-0.5.0-r1.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-libs/xmlwrapp/xmlwrapp-0.5.0-r1.ebuild,v 1.20 2008/01/20 17:11:06 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/xmlwrapp/xmlwrapp-0.5.0-r1.ebuild,v 1.21 2008/05/01 00:45:43 dev-zero Exp $
inherit eutils toolchain-funcs
@@ -21,10 +21,11 @@ DEPEND="${RDEPEND}
src_unpack() {
unpack ${A}
cd "${S}"
- epatch "${FILESDIR}/${PN}-gentoo.diff"
- epatch "${FILESDIR}/${P}-tests.patch"
- epatch "${FILESDIR}/${P}-fbsd.patch"
- epatch "${FILESDIR}/${P}-gcc42_namespace.patch"
+ epatch "${FILESDIR}/${PN}-gentoo.diff" \
+ "${FILESDIR}/${P}-tests.patch" \
+ "${FILESDIR}/${P}-fbsd.patch" \
+ "${FILESDIR}/${P}-gcc42_namespace.patch" \
+ "${FILESDIR}/${P}-gcc-4.3.patch"
sed -i 's/-O2//' tools/cxxflags || die "sed tools/cxxflags failed"
}