Files
macports-ports/graphics/libsvg/files/libxml2-2.12.patch

14 lines
404 B
Diff

Fix:
./svgint.h:40:9: error: unknown type name 'xmlParserCtxtPtr'
--- src/svgint.h.orig 2026-03-21 23:04:05.000000000 +1300
+++ src/svgint.h 2026-03-21 23:17:55.000000000 +1300
@@ -36,6 +36,7 @@
#include <libxml/SAX.h>
#include <libxml/xmlmemory.h>
#include <libxml/hash.h>
+#include <libxml/parser.h>
typedef xmlParserCtxtPtr svg_xml_parser_context_t;
typedef xmlHashTable svg_xml_hash_table_t;