diff options
author | Jelle Licht <jlicht@fsfe.org> | 2025-07-17 00:10:38 +0200 |
---|---|---|
committer | Andreas Enge <andreas@enge.fr> | 2025-07-17 22:21:16 +0200 |
commit | b22450caab3099190956d42296f3d09cf19a24fa (patch) | |
tree | e09414a055ae910d02e2adcf3ea53877637a7c29 | |
parent | 2d3e9ad5e344eb91dbef1560e6c0265f43f38448 (diff) |
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>
-rw-r--r-- | gnu/packages/image-viewers.scm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gnu/packages/image-viewers.scm b/gnu/packages/image-viewers.scm index 2c0b2e407c..b3d5839f9a 100644 --- a/gnu/packages/image-viewers.scm +++ b/gnu/packages/image-viewers.scm @@ -578,6 +578,9 @@ your images. Among its features are: (build-system cmake-build-system) (arguments `(#:tests? #f ; no tests + #:configure-flags + ;; Fix compilation with gcc-14 + '("-DCMAKE_C_FLAGS=-D_DEFAULT_SOURCE") #:phases (modify-phases %standard-phases (add-after 'unpack 'patch-convert |