summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2009-02-03 23:53:09 +0000
committerPatrick Lauer <patrick@gentoo.org>2009-02-03 23:53:09 +0000
commit77b62fd81c2a573daf89c0ab04aa0af2567d0b81 (patch)
treea2cf680e35c475f71e34876a0db431adab0835a7 /dev-libs/libxml
parentBump to 0.12.3. Closes #257226 (diff)
downloadhistorical-77b62fd81c2a573daf89c0ab04aa0af2567d0b81.tar.gz
historical-77b62fd81c2a573daf89c0ab04aa0af2567d0b81.tar.bz2
historical-77b62fd81c2a573daf89c0ab04aa0af2567d0b81.zip
gcc 4.3.3 fix, thanks to Romain Perier. Closes #257309
Package-Manager: portage-2.2_rc23/cvs/Linux x86_64
Diffstat (limited to 'dev-libs/libxml')
-rw-r--r--dev-libs/libxml/ChangeLog10
-rw-r--r--dev-libs/libxml/Manifest4
-rw-r--r--dev-libs/libxml/files/open_call_fix.patch11
-rw-r--r--dev-libs/libxml/libxml-1.8.17-r3.ebuild51
4 files changed, 73 insertions, 3 deletions
diff --git a/dev-libs/libxml/ChangeLog b/dev-libs/libxml/ChangeLog
index 5119d9602953..d1a6276e430a 100644
--- a/dev-libs/libxml/ChangeLog
+++ b/dev-libs/libxml/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-libs/libxml
-# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libxml/ChangeLog,v 1.22 2008/10/14 09:24:33 robbat2 Exp $
+# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libxml/ChangeLog,v 1.23 2009/02/03 23:53:09 patrick Exp $
+
+*libxml-1.8.17-r3 (03 Feb 2009)
+
+ 03 Feb 2009; Patrick Lauer <patrick@gentoo.org>
+ +files/open_call_fix.patch, +libxml-1.8.17-r3.ebuild:
+ gcc 4.3.3 fix, thanks to Romain Perier. Closes #257309
14 Oct 2008; Robin H. Johnson <robbat2@gentoo.org>
libxml-1.8.17-r2.ebuild:
diff --git a/dev-libs/libxml/Manifest b/dev-libs/libxml/Manifest
index 7f2e030080e4..58b302ee069f 100644
--- a/dev-libs/libxml/Manifest
+++ b/dev-libs/libxml/Manifest
@@ -1,5 +1,7 @@
AUX configure-LANG.patch 1686 RMD160 4ff8355af81705058fd411910dfae94887bcd884 SHA1 67ae0deff73689cb39cd6e7451262bdda9c25a39 SHA256 dc9386b88eac48c282d63d0be7e7be81d4a0a08035a8b97138a61133e057bcea
+AUX open_call_fix.patch 363 RMD160 d504ae87018452fb4f4908c7b8f63df33520de8e SHA1 8b5bd7aba70b055c1588dd2f69633e6942c225b2 SHA256 7a9aec42a5e3fe2278eac4273e4315518136888089de1a2a17874e1935154995
DIST libxml-1.8.17.tar.gz 996351 RMD160 3d01879e6e5a38f4453d009ea8bd2d2fc9e86bcc SHA1 ebe7b76bb2b62c882000c1a846a6f8f8346e3bb4 SHA256 bffd3178dec8d75e2cfe05f4a4c36319c8fd3206209e32ef84e1a7c5173a86ed
EBUILD libxml-1.8.17-r2.ebuild 1244 RMD160 4c44af3c260da701a8973e72ba24a5e2bb0d370b SHA1 5129f8ece342d3ab32fdf36f5454a3cc51331dd9 SHA256 89d296a2c6d1a33b3d34e9c3f127f82a7dbfceb425fe2ae82dd3f9b741e17d95
-MISC ChangeLog 2840 RMD160 b3de3e5bf9d32ea9329e9a9deee58bc2128cf34a SHA1 8777631dc47978fa36f659483246f7a89b84a6b5 SHA256 8bac0d6e23b5e51b0a31cc003239083f482711c982c1628b731049d395884cfb
+EBUILD libxml-1.8.17-r3.ebuild 1296 RMD160 b954bde1e522234eded6556a442b0cde0250b9dd SHA1 35c6436f9729c380ec81faefc52f8113edb72f14 SHA256 00d19f5b27ef70d1380348a74d291eec75fa19b2ec18bb86e8ea61961e373113
+MISC ChangeLog 3037 RMD160 cc860089735260e410869be60fe09b0fc59ebdde SHA1 a44d0fa200e3643f8343b8eebc4d233fe3c6636e SHA256 b1d6c07af0ec4bdef22e87368f21298565dd14a259956f14a4b25491a80d62b8
MISC metadata.xml 231 RMD160 c13056229989c3d4f448a7c7abcff3f4ee7ce13c SHA1 2d63dfb700b223f8f37c078692a81b2237896bce SHA256 4595c2615fd7c9095517949b1a920d4457f92801eb9d46307b18aafe58ec2a8a
diff --git a/dev-libs/libxml/files/open_call_fix.patch b/dev-libs/libxml/files/open_call_fix.patch
new file mode 100644
index 000000000000..bcc7c3b71443
--- /dev/null
+++ b/dev-libs/libxml/files/open_call_fix.patch
@@ -0,0 +1,11 @@
+--- old/nanohttp.c 2000-06-28 20:33:46.000000000 +0200
++++ new/nanohttp.c 2009-02-02 13:45:31.199209868 +0100
+@@ -1182,7 +1182,7 @@
+ if (!strcmp(filename, "-"))
+ fd = 0;
+ else {
+- fd = open(filename, O_CREAT | O_WRONLY);
++ fd = open(filename, O_CREAT | O_WRONLY, 0644);
+ if (fd < 0) {
+ xmlNanoHTTPClose(ctxt);
+ return(-1);
diff --git a/dev-libs/libxml/libxml-1.8.17-r3.ebuild b/dev-libs/libxml/libxml-1.8.17-r3.ebuild
new file mode 100644
index 000000000000..320acde372fc
--- /dev/null
+++ b/dev-libs/libxml/libxml-1.8.17-r3.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libxml/libxml-1.8.17-r3.ebuild,v 1.1 2009/02/03 23:53:09 patrick Exp $
+
+inherit eutils flag-o-matic
+
+DESCRIPTION="Version 1 of the library to manipulate XML files"
+HOMEPAGE="http://www.xmlsoft.org/"
+SRC_URI="ftp://xmlsoft.org/old/${P}.tar.gz"
+
+LICENSE="GPL-2 LGPL-2"
+SLOT="1"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86"
+IUSE="doc"
+
+RDEPEND=">=sys-libs/ncurses-5.2"
+DEPEND="${RDEPEND}
+ >=sys-libs/readline-4.1
+ doc? ( >=dev-util/gtk-doc-1 )"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/configure-LANG.patch
+ epatch "${FILESDIR}"/open_call_fix.patch
+}
+
+src_compile() {
+ LIBS="-lncurses" econf || die
+ emake -j1 || die # Doesn't work with -j 4 (hallski)
+}
+
+src_install() {
+ make DESTDIR="${D}" \
+ BASE_DIR=/usr/share/doc \
+ DOC_MODULE=${PF} \
+ TARGET_DIR=/usr/share/doc/${PF}/html \
+ install || die
+
+ # This link must be fixed
+ rm "${D}"/usr/include/gnome-xml/libxml
+ dosym /usr/include/gnome-xml /usr/include/gnome-xml/libxml
+
+ dodoc AUTHORS ChangeLog NEWS README
+}
+
+pkg_preinst() {
+ if [[ -e ${ROOT}/usr/include/gnome-xml/libxml ]] ; then
+ rm -f "${ROOT}"/usr/include/gnome-xml/libxml
+ fi
+}