mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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
This commit is contained in:
parent
14e77e9db3
commit
72b50476e5
1 changed files with 11 additions and 1 deletions
|
@ -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.")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue