diff options
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/web.scm | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index b045a95b7e..10c8f66d65 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -9108,7 +9108,14 @@ concurrency, and return status.") (string-append "--with-mimedb=" (assoc-ref %build-inputs "mailcap") "/etc/mime.types")) - #:make-flags #~(list (string-append "CC=" #$(cc-for-target))))) + #:make-flags #~(list (string-append "CC=" #$(cc-for-target))) + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'hostname-bugfix + (lambda _ + (substitute* "src/config.c" + (("(host->hostname = strdup\\()section" _ prefix) + (string-append prefix "hostname")))))))) (inputs (list mailcap openssl)) (native-inputs |