| 1 | https://bugs.gentoo.org/906227
|
| 2 | https://github.com/dajobe/raptor/issues/59
|
| 3 | https://github.com/dajobe/raptor/pull/58
|
| 4 |
|
| 5 | From 4dbc4c1da2a033c497d84a1291c46f416a9cac51 Mon Sep 17 00:00:00 2001
|
| 6 | From: David Anes <[email protected]>
|
| 7 | Date: Thu, 4 May 2023 11:54:02 +0200
|
| 8 | Subject: [PATCH] Remove the access to entities 'checked' private symbol for
|
| 9 | libxml2 2.11.0
|
| 10 |
|
| 11 | Since version 2.11.0, some private symbols that were never intended
|
| 12 | as public API/ABI have been removed from libxml2, therefore the field
|
| 13 | 'checked' is no longer present and raptor fails to build in this
|
| 14 | scenario.
|
| 15 | |
| 16 | |
| 17 | @@ -246,10 +246,11 @@ raptor_libxml_getEntity(void* user_data, const xmlChar *name)
|
| 18 |
|
| 19 | ret->owner = 1;
|
| 20 |
|
| 21 | -#if LIBXML_VERSION >= 20627
|
| 22 | +#if LIBXML_VERSION >= 20627 && LIBXML_VERSION < 21100
|
| 23 | /* Checked field was released in 2.6.27 on 2006-10-25
|
| 24 | * http://git.gnome.org/browse/libxml2/commit/?id=a37a6ad91a61d168ecc4b29263def3363fff4da6
|
| 25 | *
|
| 26 | + * and was later removed in version 2.11.0
|
| 27 | */
|
| 28 |
|
| 29 | /* Mark this entity as having been checked - never do this again */
|
| 30 |
|