git: 84e966a3c63b - main - textproc/rubygem-libxml-ruby: Fix build problem
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 01 Mar 2024 09:01:57 UTC
The branch main has been updated by girgen:
URL: https://cgit.FreeBSD.org/ports/commit/?id=84e966a3c63b3ff1ad38a2138b8efdd8983c72f5
commit 84e966a3c63b3ff1ad38a2138b8efdd8983c72f5
Author: Palle Girgensohn <girgen@FreeBSD.org>
AuthorDate: 2024-02-29 10:10:08 +0000
Commit: Palle Girgensohn <girgen@FreeBSD.org>
CommitDate: 2024-03-01 09:01:41 +0000
textproc/rubygem-libxml-ruby: Fix build problem
Fix build problem.
Approved by: maintainer timeout
Submitted by: Xin Li <delphij@>
PR: 277278
---
textproc/rubygem-libxml-ruby/Makefile | 1 +
.../files/patch-ext__libxml__ruby_xml_error.c | 11 +++++++++++
2 files changed, 12 insertions(+)
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,5 +1,6 @@
PORTNAME= libxml-ruby
PORTVERSION= 5.0.2
+PORTREVISION= 1
CATEGORIES= textproc rubygems
MASTER_SITES= RG
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);
+