Date: Mon, 19 Jan 2026 20:27:18 +0000 From: Matthias Andree <mandree@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: d3d978dc3979 - main - textproc/p5-XML-GDOME: unbreak w/ newer libxml2 Message-ID: <696e93a6.2412a.6437914c@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by mandree: URL: https://cgit.FreeBSD.org/ports/commit/?id=d3d978dc3979866f865b4a9e7570a283142fdb73 commit d3d978dc3979866f865b4a9e7570a283142fdb73 Author: Matthias Andree <mandree@FreeBSD.org> AuthorDate: 2026-01-19 20:22:18 +0000 Commit: Matthias Andree <mandree@FreeBSD.org> CommitDate: 2026-01-19 20:27:12 +0000 textproc/p5-XML-GDOME: unbreak w/ newer libxml2 ...and add the missing #include lines. While here, fix up the dependencies. Approved by: portmgr@ (just-fix-it blanket approvals) PR: 291316 --- textproc/p5-XML-GDOME/Makefile | 4 ++-- textproc/p5-XML-GDOME/files/patch-GDOME.xs | 12 ++++++++++++ textproc/p5-XML-GDOME/files/patch-dom.h | 11 +++++++++++ 3 files changed, 25 insertions(+), 2 deletions(-) diff --git a/textproc/p5-XML-GDOME/Makefile b/textproc/p5-XML-GDOME/Makefile index 567388be3e2b..804c98b2d321 100644 --- a/textproc/p5-XML-GDOME/Makefile +++ b/textproc/p5-XML-GDOME/Makefile @@ -12,14 +12,14 @@ WWW= https://metacpan.org/release/XML-GDOME LICENSE= ART10 GPLv1+ LICENSE_COMB= dual -BROKEN= Fails to build with libxml2 2.14, error: unknown type name 'xmlChar' +USE_GNOME= glib20 libxml2 BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-XML-LibXML>=0:textproc/p5-XML-LibXML \ p5-XML-SAX>=0:textproc/p5-XML-SAX LIB_DEPENDS= libgdome.so:textproc/gdome2 -USES= perl5 pkgconfig +USES= gettext-runtime gnome perl5 pkgconfig USE_PERL5= configure .include <bsd.port.mk> diff --git a/textproc/p5-XML-GDOME/files/patch-GDOME.xs b/textproc/p5-XML-GDOME/files/patch-GDOME.xs new file mode 100644 index 000000000000..fc64e111b90b --- /dev/null +++ b/textproc/p5-XML-GDOME/files/patch-GDOME.xs @@ -0,0 +1,12 @@ +--- GDOME.xs.orig 2003-12-02 09:30:40 UTC ++++ GDOME.xs +@@ -8,7 +8,9 @@ extern "C" { + #include "XSUB.h" + + /*#include <libxml/hash.h>*/ ++#include <libxml/tree.h> + #include <libxml/xmlerror.h> ++#include <libxml/xmlstring.h> + #include "gdome.h" + #include "gdome-xpath.h" + /*#include "gdome-traversal.h" diff --git a/textproc/p5-XML-GDOME/files/patch-dom.h b/textproc/p5-XML-GDOME/files/patch-dom.h new file mode 100644 index 000000000000..cad24884ee3d --- /dev/null +++ b/textproc/p5-XML-GDOME/files/patch-dom.h @@ -0,0 +1,11 @@ +--- dom.h.orig 2002-02-09 05:12:46 UTC ++++ dom.h +@@ -1,6 +1,8 @@ + #ifndef __LIBXML_DOM_H__ + #define __LIBXML_DOM_H__ + ++#include <libxml/xmlstring.h> ++ + xmlChar* + domEncodeString( const char *encoding, const char *string ); + char*home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?696e93a6.2412a.6437914c>
