This is an automated email from the git hooks/post-receive script.
guix_mirror_bot pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new 72b50476e5 gnu: compface: Fix build with gcc-14.
72b50476e5 is described below
commit 72b50476e589ba6da8f0f16bfc955d157c24615a
Author: Andreas Enge <[email protected]>
AuthorDate: Sun Aug 17 16:31:17 2025 +0200
gnu: compface: Fix build with gcc-14.
* gnu/packages/mail.scm (compface)[arguments]<#:configure-flags>: New field.
<#:phases>: Add new phase 'fix-includes.
Change-Id: I875b8709b0c09aa06f96a9a1db0760773c5dccd2
---
gnu/packages/mail.scm | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index e6bc71710b..1c8d0e7db4 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -1895,7 +1895,17 @@ MailCore 2.")
"09b89wg63hg502hsz592cd2h87wdprb1dq1k1y07n89hym2q56d6"))))
(build-system gnu-build-system)
(arguments
- `(#:tests? #f))
+ (list
+ #:tests? #f
+ #:configure-flags
+ #~(list "CFLAGS=-g -O2 -DSTDC_HEADERS")
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'configure 'fix-includes
+ (lambda _
+ (substitute* "config.h"
+ (("#include <stdlib.h>" all)
+ (string-append all "\n#include <unistd.h>"))))))))
(synopsis "Portrait image compressor")
(description "This package takes your 48x48x1 portrait image and
compresses it.")