diff options
author | Matt Turner <mattst88@gentoo.org> | 2024-12-21 08:32:56 -0500 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-12-21 20:32:39 +0000 |
commit | 15bfc2f4ce56af68b7e2edca67f516af84a9b64d (patch) | |
tree | 754671ea5da6ded6baa68bae17f84cd4cd40c116 /dev-perl | |
parent | dev-perl/XML-Feed: Drop old versions (diff) | |
download | gentoo-15bfc2f4ce56af68b7e2edca67f516af84a9b64d.tar.gz gentoo-15bfc2f4ce56af68b7e2edca67f516af84a9b64d.tar.bz2 gentoo-15bfc2f4ce56af68b7e2edca67f516af84a9b64d.zip |
dev-perl/XML-LibXML: Drop old versions
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-perl')
-rw-r--r-- | dev-perl/XML-LibXML/Manifest | 1 | ||||
-rw-r--r-- | dev-perl/XML-LibXML/XML-LibXML-2.20.900.ebuild | 82 | ||||
-rw-r--r-- | dev-perl/XML-LibXML/files/XML-LibXML-2.20.800-modern-c.patch | 45 |
3 files changed, 0 insertions, 128 deletions
diff --git a/dev-perl/XML-LibXML/Manifest b/dev-perl/XML-LibXML/Manifest index 9dbd41ad2383..ce467a30652b 100644 --- a/dev-perl/XML-LibXML/Manifest +++ b/dev-perl/XML-LibXML/Manifest @@ -1,2 +1 @@ -DIST XML-LibXML-2.0209.tar.gz 466118 BLAKE2B 665370499c16e60513263234c030d2be0d3a7c23563cae6ef06e125c3437057d8b835403b506c46caf864b6afff6e34370615d2508fb6891de99a0580bdf6f80 SHA512 3fd41775477ccb2eb9c72c72453436edcf2ed3db9aa1bbf53451c1407c5b6feeafd3ecc9f30507679f4dba15476044f43b5048da787c20a200831c0669b49262 DIST XML-LibXML-2.0210.tar.gz 466316 BLAKE2B ebe5b6af158c68ef8df9b75f88445cf7e03ee41fcc3ba5c49216f2d27be63395a092a91a8ed8b4250ea1de3d627a2ca4df4a6af5cfff7bf5b2852bba33d99c86 SHA512 ae72b25ac6362152fa85ec9fed03fad694382bde29f459e1bd95b3ca4d1b0dffb76d2f8319bc6fbc6e291583696c3b95b41a23cc2bb509ce6f3fd7d74666fd77 diff --git a/dev-perl/XML-LibXML/XML-LibXML-2.20.900.ebuild b/dev-perl/XML-LibXML/XML-LibXML-2.20.900.ebuild deleted file mode 100644 index 05ab92523f4d..000000000000 --- a/dev-perl/XML-LibXML/XML-LibXML-2.20.900.ebuild +++ /dev/null @@ -1,82 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DIST_AUTHOR=SHLOMIF -DIST_VERSION=2.0209 -DIST_EXAMPLES=("example/*") -inherit perl-module - -DESCRIPTION="Perl binding for libxml2" - -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" -IUSE="minimal" - -# >= on XML-Sax needed to avoid "miscompilation" (essentially empty install), as newer XML-Sax -# has the ROOT check fixed. Didn't happen with XML-SAX-Expat, but best to be careful. -# bug #840053 -RDEPEND=" - virtual/perl-Carp - virtual/perl-Encode - >=virtual/perl-Exporter-5.570.0 - virtual/perl-IO - virtual/perl-Scalar-List-Utils - >=dev-perl/XML-NamespaceSupport-1.70.0 - >=dev-perl/XML-SAX-1.20.0-r1 - dev-perl/XML-SAX-Base - >=dev-libs/libxml2-2.6.21:2= - virtual/perl-parent -" -BDEPEND="${RDEPEND} - virtual/perl-ExtUtils-MakeMaker - dev-perl/Alien-Build - >=dev-perl/Alien-Libxml2-0.140.0 - test? ( - !minimal? ( - dev-perl/Test-LeakTrace - ) - ) -" -DEPEND=">=dev-libs/libxml2-2.6.21:2=" - -PATCHES=( - "${FILESDIR}"/${PN}-2.20.800-modern-c.patch -) - -PERL_RM_FILES=( - "t/cpan-changes.t" "t/pod-files-presence.t" "t/pod.t" - "t/release-kwalitee.t" "t/style-trailing-space.t" - "t/11memory.t" -) - -src_compile() { - export SKIP_SAX_INSTALL=1 - perl-module_src_compile -} - -pkg_postinst() { - pkg_update_parser add XML::LibXML::SAX::Parser - pkg_update_parser add XML::LibXML::SAX -} - -pkg_postrm() { - pkg_update_parser remove XML::LibXML::SAX::Parser - pkg_update_parser remove XML::LibXML::SAX -} - -pkg_update_parser() { - # pkg_update_parser [add|remove] $parser_module - local action=$1 - local parser_module=$2 - - if [[ -z "${ROOT}" ]] ; then - einfo "Update Parser: $1 $2" - perl -MXML::SAX -e "XML::SAX->${action}_parser(q(${parser_module}))->save_parsers()" \ - || ewarn "Update Parser: $1 $2 failed" - else - elog "To $1 $2 run:" - elog "perl -MXML::SAX -e 'XML::SAX->${action}_parser(q(${parser_module}))->save_parsers()'" - fi -} diff --git a/dev-perl/XML-LibXML/files/XML-LibXML-2.20.800-modern-c.patch b/dev-perl/XML-LibXML/files/XML-LibXML-2.20.800-modern-c.patch deleted file mode 100644 index 609db4ac7123..000000000000 --- a/dev-perl/XML-LibXML/files/XML-LibXML-2.20.800-modern-c.patch +++ /dev/null @@ -1,45 +0,0 @@ -https://bugs.gentoo.org/883711 -https://github.com/shlomif/perl-XML-LibXML/pull/75 - -From 25451c0a56ef8d3b32fd23847bef516486bd8ed4 Mon Sep 17 00:00:00 2001 -From: Khem Raj <raj.khem@gmail.com> -Date: Mon, 16 Jan 2023 18:50:10 -0800 -Subject: [PATCH] libxml-mm: Fix function prototypes in function pointers - -This is now detected with latest clang16+ - -Fixes -error: incompatible function pointer types passing 'void (void *, void *, xmlChar *)' (aka 'void (void *, void *, unsigned char *)') to parameter of type 'xmlHashScanner' (aka 'void (*)(void *, void *, const unsigned char *)') [-Wincompatible-function-pointer-types] - xmlHashScan(r, PmmRegistryDumpHashScanner, NULL); - -Signed-off-by: Khem Raj <raj.khem@gmail.com> ---- a/perl-libxml-mm.c -+++ b/perl-libxml-mm.c -@@ -121,7 +121,7 @@ PmmFreeHashTable(xmlHashTablePtr table) - extern SV* PROXY_NODE_REGISTRY_MUTEX; - - /* Utility method used by PmmDumpRegistry */ --void PmmRegistryDumpHashScanner(void * payload, void * data, xmlChar * name) -+void PmmRegistryDumpHashScanner(void * payload, void * data, const xmlChar * name) - { - LocalProxyNodePtr lp = (LocalProxyNodePtr) payload; - ProxyNodePtr node = (ProxyNodePtr) lp->proxy; -@@ -215,7 +215,7 @@ PmmRegisterProxyNode(ProxyNodePtr proxy) - /* PP: originally this was static inline void, but on AIX the compiler - did not chew it, so I'm removing the inline */ - static void --PmmRegistryHashDeallocator(void *payload, xmlChar *name) -+PmmRegistryHashDeallocator(void *payload, const xmlChar *name) - { - Safefree((LocalProxyNodePtr) payload); - } -@@ -279,7 +279,7 @@ PmmRegistryREFCNT_dec(ProxyNodePtr proxy) - * internal, used by PmmCloneProxyNodes - */ - void * --PmmRegistryHashCopier(void *payload, xmlChar *name) -+PmmRegistryHashCopier(void *payload, const xmlChar *name) - { - ProxyNodePtr proxy = ((LocalProxyNodePtr) payload)->proxy; - LocalProxyNodePtr lp; - |