aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/librsvg/fix-libxml2-2.13.5.patch
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/librsvg/fix-libxml2-2.13.5.patch')
-rw-r--r--vcpkg/ports/librsvg/fix-libxml2-2.13.5.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/vcpkg/ports/librsvg/fix-libxml2-2.13.5.patch b/vcpkg/ports/librsvg/fix-libxml2-2.13.5.patch
new file mode 100644
index 0000000..634f659
--- /dev/null
+++ b/vcpkg/ports/librsvg/fix-libxml2-2.13.5.patch
@@ -0,0 +1,25 @@
+diff --git a/rsvg-css.c b/rsvg-css.c
+index 5b359a206..4f59281b6 100644
+--- a/rsvg-css.c
++++ b/rsvg-css.c
+@@ -839,7 +839,7 @@ rsvg_css_parse_overflow (const char *str, gboolean * inherit)
+ }
+
+ static void
+-rsvg_xml_noerror (void *data, xmlErrorPtr error)
++rsvg_xml_noerror (void *data, const xmlError *error)
+ {
+ }
+
+diff --git a/rsvg-private.h b/rsvg-private.h
+index 82157bc..fb9c4e0 100644
+--- a/rsvg-private.h
++++ b/rsvg-private.h
+@@ -33,6 +33,7 @@
+
+ #include <libxml/SAX.h>
+ #include <libxml/xmlmemory.h>
++#include <libxml/tree.h>
+ #include <pango/pango.h>
+ #include <glib.h>
+ #include <glib-object.h>