summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-01-16 03:11:42 +0000
committerSam James <sam@gentoo.org>2024-01-16 03:14:40 +0000
commit9ec403a539c52f06f5111a62ace41e2604662e76 (patch)
treef974bda12d7102dae2097749eecdc90ad87d8d69 /gnome-extra
parentnet-libs/gupnp: fix build w/ libxml2-2.12 (diff)
downloadgentoo-9ec403a539c52f06f5111a62ace41e2604662e76.tar.gz
gentoo-9ec403a539c52f06f5111a62ace41e2604662e76.tar.bz2
gentoo-9ec403a539c52f06f5111a62ace41e2604662e76.zip
gnome-extra/libgsf: fix build w/ libxml2-2.12
Closes: https://bugs.gentoo.org/917549 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'gnome-extra')
-rw-r--r--gnome-extra/libgsf/files/1.14.51-libxml2-2.12.patch20
-rw-r--r--gnome-extra/libgsf/libgsf-1.14.51.ebuild3
2 files changed, 22 insertions, 1 deletions
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?= <j@bitron.ch>
+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() {