diff options
Diffstat (limited to 'development/gnustep-base/libxml2-2.11.patch')
-rw-r--r-- | development/gnustep-base/libxml2-2.11.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/development/gnustep-base/libxml2-2.11.patch b/development/gnustep-base/libxml2-2.11.patch new file mode 100644 index 0000000000..519b0cf288 --- /dev/null +++ b/development/gnustep-base/libxml2-2.11.patch @@ -0,0 +1,27 @@ +From 37913d006d96a6bdcb963f4ca4889888dcce6094 Mon Sep 17 00:00:00 2001 +From: Frederik Seiffert <frederik@algoriddim.com> +Date: Wed, 3 May 2023 13:49:09 +0200 +Subject: [PATCH] Fix GSXML compatibility with libxml2 v2.11.0 + +Fixes #294. +--- + Source/Additions/GSXML.m | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/Source/Additions/GSXML.m b/Source/Additions/GSXML.m +index 37f509564a..01a24c5aa1 100644 +--- a/Source/Additions/GSXML.m ++++ b/Source/Additions/GSXML.m +@@ -2671,10 +2671,12 @@ + (void) initialize + return NULL; + } + ret->owner = 1; ++#if LIBXML_VERSION < 21100 + if (ret->checked == 0) + { + ret->checked = 1; + } ++#endif + } + } + } |