diff options
author | Charlie Li <vishwin@FreeBSD.org> | 2025-06-25 22:12:21 -0400 |
---|---|---|
committer | Charlie Li <vishwin@FreeBSD.org> | 2025-06-25 22:18:38 -0400 |
commit | 9acdf260eddc1fed2be63fca0115fb19ddaa1f4f (patch) | |
tree | 1df6b7bb0cecebf2da288476f7d19fd72e175a15 /graphics/librsvg2/files/patch-rsvg-css.c | |
parent | security/vuxml: document gitlab vulnerabilities (diff) |
graphics/librsvg2: fix build with newer libxml2
- explicitly #include <libxml/tree.h>, probably from <libxml/SAX.h> before
- account for changed xmlStructuredErrorFunc typedef in <libxml/xmlerror.h>
While here, cosmetic ordering and fix gtk-doc typo; bump PORTREVISION
for that.
PR: 279705
Co-authored-by: vvd
Diffstat (limited to 'graphics/librsvg2/files/patch-rsvg-css.c')
-rw-r--r-- | graphics/librsvg2/files/patch-rsvg-css.c | 14 |
1 files changed, 14 insertions, 0 deletions
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 + { + } + |