commit:     9ec403a539c52f06f5111a62ace41e2604662e76
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 16 03:11:42 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Jan 16 03:14:40 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ec403a5

gnome-extra/libgsf: fix build w/ libxml2-2.12

Closes: https://bugs.gentoo.org/917549
Signed-off-by: Sam James <sam <AT> gentoo.org>

 gnome-extra/libgsf/files/1.14.51-libxml2-2.12.patch | 20 ++++++++++++++++++++
 gnome-extra/libgsf/libgsf-1.14.51.ebuild            |  3 ++-
 2 files changed, 22 insertions(+), 1 deletion(-)

diff --git a/gnome-extra/libgsf/files/1.14.51-libxml2-2.12.patch 
b/gnome-extra/libgsf/files/1.14.51-libxml2-2.12.patch
new file mode 100644
index 000000000000..cfbd82c6e634
--- /dev/null
+++ b/gnome-extra/libgsf/files/1.14.51-libxml2-2.12.patch
@@ -0,0 +1,20 @@
+https://bugs.gentoo.org/917549
+https://gitlab.gnome.org/GNOME/libgsf/-/commit/b6719aa4a8a0fc3acfd8e7ab339b3493f7251b22
+
+From b6719aa4a8a0fc3acfd8e7ab339b3493f7251b22 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?J=C3=BCrg=20Billeter?= <[email protected]>
+Date: Fri, 24 Nov 2023 19:47:35 +0100
+Subject: [PATCH] xml: Fix build with libxml2 2.12
+
+--- a/gsf/gsf-libxml.h
++++ b/gsf/gsf-libxml.h
+@@ -23,6 +23,7 @@
+ #define GSF_LIBXML_H
+ 
+ #include <gsf/gsf-fwd.h>
++#include <libxml/parser.h>
+ #include <libxml/tree.h>
+ 
+ G_BEGIN_DECLS
+-- 
+GitLab

diff --git a/gnome-extra/libgsf/libgsf-1.14.51.ebuild 
b/gnome-extra/libgsf/libgsf-1.14.51.ebuild
index 9b8b4ef0e360..3abb894f8ff0 100644
--- a/gnome-extra/libgsf/libgsf-1.14.51.ebuild
+++ b/gnome-extra/libgsf/libgsf-1.14.51.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -36,6 +36,7 @@ DEPEND="${RDEPEND}
 
 PATCHES=(
        "${FILESDIR}"/1.14.49-skip-valgrind-tests.patch
+       "${FILESDIR}"/1.14.51-libxml2-2.12.patch
 )
 
 src_configure() {

Reply via email to