gnu: gnucobol: Fix build with libxml2 >= 2.14. * gnu/packages/cobol.scm (gnucobol)[arguments]: Add 'fix-build' phase. Change-Id: I94d17e734b46e5c18fed33636e399afe48feb66e
1 files changed, 6 insertions(+), 0 deletions(-) M gnu/packages/cobol.scm
M gnu/packages/cobol.scm => gnu/packages/cobol.scm +6 -0
@@ 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")))