diff options
Diffstat (limited to 'gnu/packages/cobol.scm')
-rw-r--r-- | gnu/packages/cobol.scm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gnu/packages/cobol.scm b/gnu/packages/cobol.scm index 9e9be5122a..3b4dd99aed 100644 --- a/gnu/packages/cobol.scm +++ b/gnu/packages/cobol.scm @@ -65,6 +65,12 @@ "/include/json-c"))) #:phases #~(modify-phases %standard-phases + (add-after 'unpack 'fix-build + (lambda _ + ;; Fix build with libxml2 >= 2.14. + (substitute* "libcob/common.c" + (("#include <libxml/xmlwriter.h>" all) + (string-append all "\n#include <libxml/parser.h>"))))) (add-after 'unpack 'place-cobol85-test-suite (lambda* (#:key inputs #:allow-other-keys) (let ((newcob (assoc-ref inputs "newcob"))) |