From 9acdf260eddc1fed2be63fca0115fb19ddaa1f4f Mon Sep 17 00:00:00 2001 From: Charlie Li Date: Wed, 25 Jun 2025 22:12:21 -0400 Subject: graphics/librsvg2: fix build with newer libxml2 - explicitly #include , probably from before - account for changed xmlStructuredErrorFunc typedef in While here, cosmetic ordering and fix gtk-doc typo; bump PORTREVISION for that. PR: 279705 Co-authored-by: vvd --- graphics/librsvg2/files/patch-rsvg-css.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 graphics/librsvg2/files/patch-rsvg-css.c (limited to 'graphics/librsvg2/files/patch-rsvg-css.c') diff --git a/graphics/librsvg2/files/patch-rsvg-css.c b/graphics/librsvg2/files/patch-rsvg-css.c new file mode 100644 index 000000000000..396724399710 --- /dev/null +++ b/graphics/librsvg2/files/patch-rsvg-css.c @@ -0,0 +1,14 @@ +--- rsvg-css.c.orig 2018-10-01 22:50:22 UTC ++++ rsvg-css.c +@@ -839,7 +839,11 @@ static void + } + + static void ++#if LIBXML_VERSION < 21200 + rsvg_xml_noerror (void *data, xmlErrorPtr error) ++#else ++rsvg_xml_noerror (void *data, const xmlError *error) ++#endif + { + } + -- cgit v1.2.3