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 @@ -1,25 +1,25 @@ PORTNAME= XML-GDOME PORTVERSION= 0.86 PORTREVISION= 5 CATEGORIES= textproc perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= bofh@FreeBSD.org COMMENT= Perl module that provides the DOM Level 2 Core API for XML documents 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 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 */ ++#include + #include ++#include + #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 ++ + xmlChar* + domEncodeString( const char *encoding, const char *string ); + char*