commit: b82c33179943d6092c4a3d0a8c591fe63381697b Author: James Le Cuirot <chewi <AT> gentoo <DOT> org> AuthorDate: Sat Feb 7 21:23:32 2026 +0000 Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org> CommitDate: Sat Feb 7 22:30:10 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b82c3317
gnome-base/librsvg: Patch 2.40.21 for newer libxml2 versions Closes: https://bugs.gentoo.org/965467 Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org> .../librsvg/files/librsvg-2.40.21-libxml-2.14.6.patch | 13 +++++++++++++ gnome-base/librsvg/librsvg-2.40.21-r1.ebuild | 3 ++- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/gnome-base/librsvg/files/librsvg-2.40.21-libxml-2.14.6.patch b/gnome-base/librsvg/files/librsvg-2.40.21-libxml-2.14.6.patch new file mode 100644 index 000000000000..a785df566c5b --- /dev/null +++ b/gnome-base/librsvg/files/librsvg-2.40.21-libxml-2.14.6.patch @@ -0,0 +1,13 @@ +https://bugs.gentoo.org/965467 + +--- a/rsvg-private.h ++++ b/rsvg-private.h +@@ -31,7 +31,7 @@ + + #include "rsvg.h" + +-#include <libxml/SAX.h> ++#include <libxml/SAX2.h> + #include <libxml/xmlmemory.h> + #include <pango/pango.h> + #include <glib.h> diff --git a/gnome-base/librsvg/librsvg-2.40.21-r1.ebuild b/gnome-base/librsvg/librsvg-2.40.21-r1.ebuild index 05ea00bde186..1a46bcba867d 100644 --- a/gnome-base/librsvg/librsvg-2.40.21-r1.ebuild +++ b/gnome-base/librsvg/librsvg-2.40.21-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -48,6 +48,7 @@ RESTRICT="test" # Lots of issues due to freetype changes and more; ever since ne PATCHES=( # https://bugzilla.gnome.org/show_bug.cgi?id=653323 "${FILESDIR}/${PN}-2.40.12-gtk-optional.patch" + "${FILESDIR}/${P}-libxml-2.14.6.patch" ) src_prepare() {
