1From da171e12d961b41b89196627ef5e5baae1e637ce Mon Sep 17 00:00:00 2001 2From: David Anes <david.anes@suse.com> 3Date: Thu, 4 May 2023 11:54:02 +0200 4Subject: [PATCH] Remove the access to entities 'checked' private symbol for 5 libxml2 2.11.0 6 7Since version 2.11.0, some private symbols that were never intended 8as public API/ABI have been removed from libxml2, therefore the field 9'checked' is no longer present and raptor fails to build in this 10scenario. 11 12Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> 13Upstream-Status: Backport [https://github.com/dajobe/raptor/commit/ac914399b9013c54572833d4818e6ce008136dc9] 14--- 15 src/raptor_libxml.c | 3 ++- 16 1 file changed, 2 insertions(+), 1 deletion(-) 17 18diff --git a/src/raptor_libxml.c b/src/raptor_libxml.c 19index 538c2c8..8bcee13 100644 20--- a/src/raptor_libxml.c 21+++ b/src/raptor_libxml.c 22@@ -246,10 +246,11 @@ raptor_libxml_getEntity(void* user_data, const xmlChar *name) 23 24 ret->owner = 1; 25 26-#if LIBXML_VERSION >= 20627 27+#if LIBXML_VERSION >= 20627 && LIBXML_VERSION < 21100 28 /* Checked field was released in 2.6.27 on 2006-10-25 29 * http://git.gnome.org/browse/libxml2/commit/?id=a37a6ad91a61d168ecc4b29263def3363fff4da6 30 * 31+ * and was later removed in version 2.11.0 32 */ 33 34 /* Mark this entity as having been checked - never do this again */ 35