~ruther/guix-local

3cdebf01383d75f64f73e6d6208f0f8026d1221d — Janneke Nieuwenhuizen 1 year, 10 months ago 2a05153
gnu: libjxr: Fix build with gcc-14.

* gnu/packages/image.scm (libjxr)[arguments]: Extend CFLAGS to relax gcc-14's
strictness.

Change-Id: I44cedd787beae4efb945efde3217999af430c94b
1 files changed, 11 insertions(+), 3 deletions(-)

M gnu/packages/image.scm
M gnu/packages/image.scm => gnu/packages/image.scm +11 -3
@@ 26,7 26,7 @@
;;; Copyright © 2020 Giacomo Leidi <goodoldpaul@autistici.org>
;;; Copyright © 2020 R Veera Kumar <vkor@vkten.in>
;;; Copyright © 2020, 2023 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
;;; Copyright © 2020, 2025 Janneke Nieuwenhuizen <janneke@gnu.org>
;;; Copyright © 2020 Zhu Zihao <all_but_last@163.com>
;;; Copyright © 2020, 2021, 2022, 2023, 2024 Vinicius Monego <monego@posteo.net>
;;; Copyright © 2021 Sharlatan Hellseher <sharlatanus@gmail.com>


@@ 625,8 625,16 @@ lossless JPEG manipulations such as rotation, scaling or cropping:
             ;; flag if there was no file decoding error.
             ;; The makefile is a "Non-ISO extended-ASCII text, with CRLF line
             ;; terminators" according to the file(1) utility.
             (string-append "CFLAGS=-I. -Icommon/include -Iimage/sys -fPIC "
                            "-D__ANSI__ -DDISABLE_PERF_MEASUREMENT -w -O "))
             (string-append "CFLAGS=-I."
                            " -Icommon/include"
                            " -Iimage/sys"
                            " -D__ANSI__"
                            " -DDISABLE_PERF_MEASUREMENT"
                            " -fPIC"
                            " -w"
                            " -O"
                            " -Wno-error=implicit-function-declaration"
                            " -Wno-error=incompatible-pointer-types"))
       #:tests? #f ; no check target
       #:phases
       (modify-phases %standard-phases