diff options
author | Andreas Enge <andreas@enge.fr> | 2025-07-30 12:58:25 +0200 |
---|---|---|
committer | Andreas Enge <andreas@enge.fr> | 2025-07-30 12:58:25 +0200 |
commit | 4ec561b1c20ed4c4f26094e0591cadbdd749aa6a (patch) | |
tree | 46d7cec91fe2b0b77092a9937981ca5edefdd841 | |
parent | 0bfa32fcd2f7f89e5995b3caefb060691a62f983 (diff) |
gnu: man2html: Fix build with gcc-14.
* gnu/packages/man.scm (man2html)[arguments]<#:phases>{fix-includes}:
New phase.
Change-Id: I2a162468b4fe5c7d6c662dbe5f8e3b620b6c825a
-rw-r--r-- | gnu/packages/man.scm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gnu/packages/man.scm b/gnu/packages/man.scm index bc7eefb267..e12dc29230 100644 --- a/gnu/packages/man.scm +++ b/gnu/packages/man.scm @@ -225,6 +225,11 @@ the traditional flat-text whatis databases.") #:make-flags #~(list (string-append "bindir=" #$output "/bin") "manhtml") #:phases #~(modify-phases %standard-phases + (add-before 'configure 'fix-includes + (lambda _ + (substitute* "src/makemsg.c" + (("#include <unistd.h>" all) + (string-append all "\n#include <string.h>"))))) (replace 'configure (lambda _ (setenv "CC" #$(cc-for-target)) |