gnu: chmlib: Fix build with gcc-14.

* gnu/packages/ebook.scm (chmlib)[arguments]: New field to relax gcc-14's strictness.

Change-Id: Ia2fb349d9aeda92d7753c5b1ac98dd85869a2f70
This commit is contained in:
Janneke Nieuwenhuizen 2025-01-02 14:40:13 +01:00
parent c3c32be30f
commit a626d16fe7
No known key found for this signature in database
GPG key ID: F3C1A0D9C1D65273

View file

@ -12,6 +12,7 @@
;;; Copyright © 2021 Petr Hodina <phodina@protonmail.com> ;;; Copyright © 2021 Petr Hodina <phodina@protonmail.com>
;;; Copyright © 2021 Mathieu Laparie <mlaparie@disr.it> ;;; Copyright © 2021 Mathieu Laparie <mlaparie@disr.it>
;;; Copyright © 2024 jgart <jgart@dismail.de> ;;; Copyright © 2024 jgart <jgart@dismail.de>
;;; Copyright © 2025 Janneke Nieuwenhuizen <janneke@gnu.org>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -99,6 +100,10 @@ (define-public chmlib
"18zzb4x3z0d7fjh1x5439bs62dmgsi4c1pg3qyr7h5gp1i5xcj9l")) "18zzb4x3z0d7fjh1x5439bs62dmgsi4c1pg3qyr7h5gp1i5xcj9l"))
(patches (search-patches "chmlib-inttypes.patch")))) (patches (search-patches "chmlib-inttypes.patch"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments
(list
#:configure-flags
#~(list "CFLAGS=-Wno-error=implicit-function-declaration")))
(home-page "http://www.jedrea.com/chmlib/") (home-page "http://www.jedrea.com/chmlib/")
(synopsis "Library for CHM files") (synopsis "Library for CHM files")
(description "CHMLIB is a library for dealing with ITSS/CHM format files.") (description "CHMLIB is a library for dealing with ITSS/CHM format files.")