diff --git a/textproc/rubygem-libxml-ruby/Makefile b/textproc/rubygem-libxml-ruby/Makefile index 624529c5cf21..62308226f408 100644 --- a/textproc/rubygem-libxml-ruby/Makefile +++ b/textproc/rubygem-libxml-ruby/Makefile @@ -1,17 +1,18 @@ PORTNAME= libxml-ruby PORTVERSION= 5.0.2 +PORTREVISION= 1 CATEGORIES= textproc rubygems MASTER_SITES= RG MAINTAINER= sunpoet@FreeBSD.org COMMENT= Ruby language bindings for the GNOME Libxml2 XML toolkit WWW= https://xml4r.github.io/libxml-ruby/ \ https://github.com/xml4r/libxml-ruby LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USES= gem gnome USE_GNOME= libxml2 .include diff --git a/textproc/rubygem-libxml-ruby/files/patch-ext__libxml__ruby_xml_error.c b/textproc/rubygem-libxml-ruby/files/patch-ext__libxml__ruby_xml_error.c new file mode 100644 index 000000000000..43e746b777dd --- /dev/null +++ b/textproc/rubygem-libxml-ruby/files/patch-ext__libxml__ruby_xml_error.c @@ -0,0 +1,11 @@ +--- ext/libxml/ruby_xml_error.c.orig 2024-02-29 10:00:08.939749000 +0000 ++++ ext/libxml/ruby_xml_error.c 2024-02-29 10:03:09.239975000 +0000 +@@ -97,7 +97,7 @@ + } + + /* Hook that receives xml error message */ +-static void structuredErrorFunc(void *userData, const xmlError *xerror) ++static void structuredErrorFunc(void *userData, xmlError *xerror) + { + VALUE error = rxml_error_wrap(xerror); +