Files
nixpkgs/pkgs/by-name/gn/gnucobol/fix-libxml2-include.patch

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
405 B
Diff
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
libcob: Fix include for xmlCleanupParser
common.c uses xmlCleanupParser, which is defined in libxml/parser.h.
---
--- a/libcob/common.c 2025-01-01 03:03:49.762316279 +0100
+++ b/libcob/common.c 2025-01-01 03:01:56.632597306 +0100
@@ -136,6 +136,7 @@
#if defined (WITH_XML2)
#include <libxml/xmlversion.h>
#include <libxml/xmlwriter.h>
+#include <libxml/parser.h>
#endif
#if defined (WITH_CJSON)