commit:     3f1061d8ef6321523be2d22f490c7e1a2eac9a4d
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 28 10:55:36 2025 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Fri Mar 28 10:55:36 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f1061d8

net-libs/libdom: drop 0.4.2

Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>

 net-libs/libdom/files/libdom-0.4.2-musl.patch | 29 -------------
 net-libs/libdom/libdom-0.4.2.ebuild           | 59 ---------------------------
 2 files changed, 88 deletions(-)

diff --git a/net-libs/libdom/files/libdom-0.4.2-musl.patch 
b/net-libs/libdom/files/libdom-0.4.2-musl.patch
deleted file mode 100644
index 61a84d3293b4..000000000000
--- a/net-libs/libdom/files/libdom-0.4.2-musl.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-From 15898de03539ad2376cca591c39c60134a7d4a12 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <[email protected]>
-Date: Sat, 3 Feb 2024 08:05:34 -0500
-Subject: [PATCH 1/1] bindings/xml/libxml_xmlparser.c: add stdlib.h include
-
-This file uses malloc() but does not include stdlib.h directly. With
-glibc, that apparently works out just fine... but with musl, it leads
-to implicit declaration warnings/errors, most likely because musl does
-not include stdlib.h transitively via any of the other headers used by
-this file.
----
- bindings/xml/libxml_xmlparser.c | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/bindings/xml/libxml_xmlparser.c b/bindings/xml/libxml_xmlparser.c
-index e4a6d80..28aadf1 100644
---- a/bindings/xml/libxml_xmlparser.c
-+++ b/bindings/xml/libxml_xmlparser.c
-@@ -6,6 +6,7 @@
-  */
- 
- #include <stdbool.h>
-+#include <stdlib.h>
- #include <string.h>
- #include <assert.h>
- 
--- 
-2.43.0
-

diff --git a/net-libs/libdom/libdom-0.4.2.ebuild 
b/net-libs/libdom/libdom-0.4.2.ebuild
deleted file mode 100644
index cdfe12373331..000000000000
--- a/net-libs/libdom/libdom-0.4.2.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit netsurf
-
-DESCRIPTION="implementation of the W3C DOM, written in C"
-HOMEPAGE="https://www.netsurf-browser.org/projects/libdom/";
-SRC_URI="https://download.netsurf-browser.org/libs/releases/${P}-src.tar.gz";
-
-LICENSE="MIT"
-SLOT="0/${PV}"
-KEYWORDS="amd64 arm ~arm64 ppc ppc64 ~riscv sparc x86"
-IUSE="expat test xml"
-
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-       dev-libs/libparserutils
-       dev-libs/libwapcaplet
-       net-libs/libhubbub
-       xml? (
-               expat? ( dev-libs/expat )
-               !expat? ( dev-libs/libxml2 )
-       )"
-DEPEND="${RDEPEND}
-       test? (
-               dev-perl/XML-XPath
-               dev-perl/libxml-perl
-               dev-perl/Switch
-       )"
-BDEPEND="
-       dev-build/netsurf-buildsystem
-       virtual/pkgconfig"
-
-REQUIRED_USE="test? ( xml )"
-
-PATCHES=( "${FILESDIR}/libdom-0.4.2-musl.patch" )
-
-_emake() {
-       netsurf_define_makeconf
-       emake "${NETSURF_MAKECONF[@]}" COMPONENT_TYPE=lib-shared \
-               WITH_EXPAT_BINDING=$(usex xml $(usex expat yes no) no) \
-               WITH_LIBXML_BINDING=$(usex xml $(usex expat no yes) no) \
-               $@
-}
-
-src_compile() {
-       _emake
-}
-
-src_test() {
-       _emake test
-}
-
-src_install() {
-       _emake DESTDIR="${D}" install
-}

Reply via email to