void-packages/srcpkgs/abiword/patches/libxml-2.12.patch

30 lines
791 B
Diff
Raw Permalink Normal View History

2024-04-20 07:51:31 +02:00
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.
Lets add the correct include.
---
src/af/util/xp/ut_stringbuf.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/af/util/xp/ut_stringbuf.cpp b/src/af/util/xp/ut_stringbuf.cpp
index f1e8d9078..88488ad67 100644
--- 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