mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: catimg: Fix build with gcc@14.
* gnu/packages/image-viewer.scm (catimg)[arguments] <#:configure-flags>: Add _DEFAULT_SOURCE feature test macro. Change-Id: Iba796f0f82546d632df2ab3120c4e3ec1a9647c0 Signed-off-by: Andreas Enge <andreas@enge.fr>
This commit is contained in:
parent
0cca4d48bf
commit
0c8ef1e38f
1 changed files with 3 additions and 0 deletions
|
@ -578,6 +578,9 @@ your images. Among its features are:
|
||||||
(build-system cmake-build-system)
|
(build-system cmake-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f ; no tests
|
`(#:tests? #f ; no tests
|
||||||
|
#:configure-flags
|
||||||
|
;; Fix compilation with gcc-14
|
||||||
|
'("-DCMAKE_C_FLAGS=-D_DEFAULT_SOURCE")
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'patch-convert
|
(add-after 'unpack 'patch-convert
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue