Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Mar 2024 09:01:57 GMT
From:      Palle Girgensohn <girgen@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 84e966a3c63b - main - textproc/rubygem-libxml-ruby: Fix build problem
Message-ID:  <202403010901.42191vMp015009@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);
+ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202403010901.42191vMp015009>