~ruther/guix-local

2a6ba2e69b830c12662cbec6c87128e02e0d4423 — Zheng Junjie 11 months ago 830fddc
gnu: enchant-1.6: Fix build with gcc-14.

* gnu/packages/enchant.scm (enchant-1.6)[arguments]: Use G-expression.
<#:configure-flags>: Add CFLAGS to relax gcc-14's strictness.

Change-Id: If99906fdd8aad1629f2712ec014456dcdd2e62f7
1 files changed, 8 insertions(+), 1 deletions(-)

M gnu/packages/enchant.scm
M gnu/packages/enchant.scm => gnu/packages/enchant.scm +8 -1
@@ 116,7 116,14 @@ Ispell-compatible.")
  (package
    (inherit enchant)
    (version "1.6.0")
    (arguments '(#:configure-flags '("--disable-static")))
    (arguments
     (list #:configure-flags
           #~(list
              ;; Add CFLAGS to relax gcc-14's strictness.
              (string-append
               "CFLAGS=-g -O2"
               " -Wno-error=incompatible-pointer-types")
              "--disable-static")))
    (native-inputs (alist-delete "unittest-cpp"
                                 (package-native-inputs enchant)))
    (source (origin