~ruther/guix-local

0c8ef1e38f1acc1adb9a54d3e03ce66a25e6836e — Jelle Licht 1 year, 3 months ago 0cca4d4
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>
1 files changed, 3 insertions(+), 0 deletions(-)

M gnu/packages/image-viewers.scm
M gnu/packages/image-viewers.scm => gnu/packages/image-viewers.scm +3 -0
@@ 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