diff options
author | Michael Cummings <mcummings@gentoo.org> | 2005-08-08 11:07:19 +0000 |
---|---|---|
committer | Michael Cummings <mcummings@gentoo.org> | 2005-08-08 11:07:19 +0000 |
commit | 65c5332f3f598d0bb6eabe22a06785769d46f97f (patch) | |
tree | d883bc8e0f1f6a8c3debdf8b839ae452c517c2d5 /dev-perl/XML-LibXML | |
parent | Added to ~ppc (diff) | |
download | gentoo-2-65c5332f3f598d0bb6eabe22a06785769d46f97f.tar.gz gentoo-2-65c5332f3f598d0bb6eabe22a06785769d46f97f.tar.bz2 gentoo-2-65c5332f3f598d0bb6eabe22a06785769d46f97f.zip |
Bug 100920, patch from Nico Erfurth for persistent XML Environments
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'dev-perl/XML-LibXML')
-rw-r--r-- | dev-perl/XML-LibXML/ChangeLog | 8 | ||||
-rw-r--r-- | dev-perl/XML-LibXML/Manifest | 5 | ||||
-rw-r--r-- | dev-perl/XML-LibXML/XML-LibXML-1.58-r1.ebuild | 40 | ||||
-rw-r--r-- | dev-perl/XML-LibXML/files/XML-LibXML-1.58-cleanup.patch | 19 | ||||
-rw-r--r-- | dev-perl/XML-LibXML/files/digest-XML-LibXML-1.58-r1 | 1 |
5 files changed, 71 insertions, 2 deletions
diff --git a/dev-perl/XML-LibXML/ChangeLog b/dev-perl/XML-LibXML/ChangeLog index 1b2e2feaf520..1ed16326b9e8 100644 --- a/dev-perl/XML-LibXML/ChangeLog +++ b/dev-perl/XML-LibXML/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-perl/XML-LibXML # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-perl/XML-LibXML/ChangeLog,v 1.34 2005/05/29 16:02:46 corsair Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-perl/XML-LibXML/ChangeLog,v 1.35 2005/08/08 11:07:19 mcummings Exp $ + +*XML-LibXML-1.58-r1 (08 Aug 2005) + + 08 Aug 2005; Michael Cummings <mcummings@gentoo.org> + +files/XML-LibXML-1.58-cleanup.patch, +XML-LibXML-1.58-r1.ebuild: + Bug 100920, patch from Nico Erfurth for persistent XML Environments 29 May 2005; Markus Rothe <corsair@gentoo.org> XML-LibXML-1.58.ebuild: Stable on ppc64 diff --git a/dev-perl/XML-LibXML/Manifest b/dev-perl/XML-LibXML/Manifest index ecd2b6efde62..604fb5e05d62 100644 --- a/dev-perl/XML-LibXML/Manifest +++ b/dev-perl/XML-LibXML/Manifest @@ -1,5 +1,8 @@ MD5 9a78586743a91509843d43b2aba48032 ChangeLog 4605 -MD5 346f2725445cc46a1782ea44cb4c8f5b XML-LibXML-1.58.ebuild 1052 MD5 e2d8f1bf77722def1dd432e26455c818 metadata.xml 305 +MD5 6b484c5e8fa95dea4ae92ecef38ebad3 XML-LibXML-1.58-r1.ebuild 1164 +MD5 346f2725445cc46a1782ea44cb4c8f5b XML-LibXML-1.58.ebuild 1052 MD5 2c4e6aba085d10088b36bf380b08f9f7 files/XML-LibXML-1.56-dupextern.patch 1122 MD5 0df24eef44f418289b6df12635b1f3d5 files/digest-XML-LibXML-1.58 67 +MD5 b34647119cc5abb87475031236572730 files/XML-LibXML-1.58-cleanup.patch 638 +MD5 0df24eef44f418289b6df12635b1f3d5 files/digest-XML-LibXML-1.58-r1 67 diff --git a/dev-perl/XML-LibXML/XML-LibXML-1.58-r1.ebuild b/dev-perl/XML-LibXML/XML-LibXML-1.58-r1.ebuild new file mode 100644 index 000000000000..ce3d380fc255 --- /dev/null +++ b/dev-perl/XML-LibXML/XML-LibXML-1.58-r1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-perl/XML-LibXML/XML-LibXML-1.58-r1.ebuild,v 1.1 2005/08/08 11:07:19 mcummings Exp $ + +inherit perl-module eutils + +DESCRIPTION="A Perl module to parse XSL Transformational sheets using gnome's libXSLT" +SRC_URI="mirror://cpan/authors/id/P/PH/PHISH/${P}.tar.gz" +HOMEPAGE="http://cpan.org/modules/by-module/XML/${P}.readme" +IUSE="" +SLOT="0" +LICENSE="Artistic" +KEYWORDS="alpha amd64 ~mips ppc ppc64 sparc x86" + +DEPEND=">=dev-perl/XML-SAX-0.12 + dev-perl/XML-LibXML-Common + >=dev-libs/libxml2-2.6.6 + >=dev-perl/XML-NamespaceSupport-1.07" + +SRC_TEST="do" + +# rac can't discern any difference between the build with or without +# this, and if somebody wants to reactivate it, get it out of global +# scope. +#export PERL5LIB=`perl -e 'print map { ":$ENV{D}/$_" } @INC'` +mytargets="pure_install doc_install" + +src_unpack() { + unpack ${A} + cd ${S}; epatch ${FILESDIR}/XML-LibXML-1.58-cleanup.patch +} + +pkg_postinst() { + + perl-module_pkg_postinst + + perl -MXML::SAX \ + -e "XML::SAX->add_parser(q(XML::LibXML::SAX::Parser))->save_parsers()" + +} diff --git a/dev-perl/XML-LibXML/files/XML-LibXML-1.58-cleanup.patch b/dev-perl/XML-LibXML/files/XML-LibXML-1.58-cleanup.patch new file mode 100644 index 000000000000..cd036111f728 --- /dev/null +++ b/dev-perl/XML-LibXML/files/XML-LibXML-1.58-cleanup.patch @@ -0,0 +1,19 @@ +diff -uNr XML-LibXML-1.58.org/LibXML.xs XML-LibXML-1.58/LibXML.xs +--- XML-LibXML-1.58.org/LibXML.xs 2004-03-25 00:06:14.000000000 +0100 ++++ XML-LibXML-1.58/LibXML.xs 2005-07-31 19:57:53.000000000 +0200 +@@ -622,7 +622,7 @@ + HV* real_obj = NULL; + SV** item = NULL; + SV* item2 = NULL; +- /* xmlInitParser(); */ /* useless call */ ++ xmlInitParser(); + xmlGetWarningsDefaultValue = 0; + + if ( self != NULL ) { +@@ -783,6 +783,8 @@ + if (LibXML_old_ext_ent_loader != NULL ) { + xmlSetExternalEntityLoader( (xmlExternalEntityLoader)LibXML_old_ext_ent_loader ); + } ++ ++ xmlCleanupParser(); + } diff --git a/dev-perl/XML-LibXML/files/digest-XML-LibXML-1.58-r1 b/dev-perl/XML-LibXML/files/digest-XML-LibXML-1.58-r1 new file mode 100644 index 000000000000..d99572d81e83 --- /dev/null +++ b/dev-perl/XML-LibXML/files/digest-XML-LibXML-1.58-r1 @@ -0,0 +1 @@ +MD5 4691fc436e5c0f22787f5b4a54fc56b0 XML-LibXML-1.58.tar.gz 171713 |