raptor2: fix build with libxml2 2.12
This commit is contained in:
parent
0834666442
commit
f316f2fb6b
|
@ -1,6 +1,7 @@
|
|||
$NetBSD: distinfo,v 1.16 2023/03/07 10:45:28 wiz Exp $
|
||||
$NetBSD: distinfo,v 1.17 2024/01/27 15:32:19 wiz Exp $
|
||||
|
||||
BLAKE2s (raptor2-2.0.16.tar.gz) = 7c1b8ff3e0e4cba0bbb23e16b910227edb3913022417ae91b9344379755d44bc
|
||||
SHA512 (raptor2-2.0.16.tar.gz) = 9bd5cff36390e1e0ef15ac56e5413ecfceb4018cb531a4da8850d3623615f12a93690a78be61f9d9ae7a24e16f6446e356bc2b7f34051ddc077761d85a9b7c44
|
||||
Size (raptor2-2.0.16.tar.gz) = 1750726 bytes
|
||||
SHA1 (patch-src_raptor__libxml.c) = 8f2d859aab1616106aa620b5389e065cdd943eb2
|
||||
SHA1 (patch-src_sort__r.h) = d58b6e4b0d083e3a554cec40a104f164dc6a5521
|
||||
|
|
|
@ -0,0 +1,16 @@
|
|||
$NetBSD: patch-src_raptor__libxml.c,v 1.1 2024/01/27 15:32:19 wiz Exp $
|
||||
|
||||
Fix build with libxml 2.12.
|
||||
https://github.com/dajobe/raptor/commit/4dbc4c1da2a033c497d84a1291c46f416a9cac51
|
||||
|
||||
--- src/raptor_libxml.c.orig 2024-01-27 15:31:31.774167018 +0000
|
||||
+++ src/raptor_libxml.c
|
||||
@@ -246,7 +246,7 @@ raptor_libxml_getEntity(void* user_data,
|
||||
|
||||
ret->owner = 1;
|
||||
|
||||
-#if LIBXML_VERSION >= 20627
|
||||
+#if LIBXML_VERSION >= 20627 && LIBXML_VERSION < 21100
|
||||
/* Checked field was released in 2.6.27 on 2006-10-25
|
||||
* http://git.gnome.org/browse/libxml2/commit/?id=a37a6ad91a61d168ecc4b29263def3363fff4da6
|
||||
*
|
Loading…
Reference in New Issue