gnu: man2html: Fix build with gcc-14.
* gnu/packages/man.scm (man2html)[arguments]<#:phases>{fix-includes}:
New phase.
Change-Id: I2a162468b4fe5c7d6c662dbe5f8e3b620b6c825a
1 files changed, 5 insertions(+), 0 deletions(-) M gnu/packages/man.scm
M gnu/packages/man.scm => gnu/packages/man.scm +5 -0
@@ 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))