summaryrefslogtreecommitdiff
path: root/app-office/abiword/files/abiword-3.0.5-libxml2-2.12.patch
diff options
context:
space:
mode:
Diffstat (limited to 'app-office/abiword/files/abiword-3.0.5-libxml2-2.12.patch')
-rw-r--r--app-office/abiword/files/abiword-3.0.5-libxml2-2.12.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/app-office/abiword/files/abiword-3.0.5-libxml2-2.12.patch b/app-office/abiword/files/abiword-3.0.5-libxml2-2.12.patch
new file mode 100644
index 000000000000..a8f82e2d844a
--- /dev/null
+++ b/app-office/abiword/files/abiword-3.0.5-libxml2-2.12.patch
@@ -0,0 +1,25 @@
+https://gitlab.gnome.org/World/AbiWord/-/commit/2a06be6a10a0718f8a3d8e00c317f5042c99a467
+https://bugs.gentoo.org/923394
+
+From 2a06be6a10a0718f8a3d8e00c317f5042c99a467 Mon Sep 17 00:00:00 2001
+From: Jan Tojnar <jtojnar@gmail.com>
+Date: Mon, 11 Dec 2023 01:55:53 +0100
+Subject: [PATCH] Fix build with libxml2 2.12
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+libxml 2.12.0 restructured headers so that xmlFree is no longer in the scope.
+Let’s add the correct include.
+--- a/src/af/util/xp/ut_stringbuf.cpp
++++ b/src/af/util/xp/ut_stringbuf.cpp
+@@ -26,6 +26,7 @@
+ #include <algorithm>
+
+ #include <libxml/uri.h>
++#include <libxml/xmlmemory.h>
+
+ #include <glib.h>
+
+--
+GitLab