diff options
| author | Guillaume Le Vaillant <glv@posteo.net> | 2025-10-04 11:04:23 +0200 |
|---|---|---|
| committer | Guillaume Le Vaillant <glv@posteo.net> | 2025-10-04 11:22:29 +0200 |
| commit | ca32d92c3207b308b0f08e729b277192b9c225d8 (patch) | |
| tree | dc2f5d767d4280661f6259c4e1cec81377d89b61 /gnu/packages | |
| parent | d8de9186cd9abedf552b52e7cf5971cc4c66c1fc (diff) | |
gnu: gnucobol: Fix build with libxml2 >= 2.14.
* gnu/packages/cobol.scm (gnucobol)[arguments]: Add 'fix-build' phase.
Change-Id: I94d17e734b46e5c18fed33636e399afe48feb66e
Diffstat (limited to 'gnu/packages')
| -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 9e9be5122a9..3b4dd99aed8 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"))) |
