janneke pushed a commit to branch core-packages-team
in repository guix.
commit 8e8f7e62da8c0a232cff9367a67036c7f4588cab
Author: Janneke Nieuwenhuizen <[email protected]>
AuthorDate: Thu Jan 2 14:40:13 2025 +0100
gnu: chmlib: Fix build with gcc-14.
* gnu/packages/ebook.scm (chmlib)[arguments]: New field to relax gcc-14's
strictness.
Change-Id: Ia2fb349d9aeda92d7753c5b1ac98dd85869a2f70
---
gnu/packages/ebook.scm | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/gnu/packages/ebook.scm b/gnu/packages/ebook.scm
index 8200f13554..ca37932cfc 100644
--- a/gnu/packages/ebook.scm
+++ b/gnu/packages/ebook.scm
@@ -12,6 +12,7 @@
;;; Copyright © 2021 Petr Hodina <[email protected]>
;;; Copyright © 2021 Mathieu Laparie <[email protected]>
;;; Copyright © 2024 jgart <[email protected]>
+;;; Copyright © 2025 Janneke Nieuwenhuizen <[email protected]>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -99,6 +100,10 @@
"18zzb4x3z0d7fjh1x5439bs62dmgsi4c1pg3qyr7h5gp1i5xcj9l"))
(patches (search-patches "chmlib-inttypes.patch"))))
(build-system gnu-build-system)
+ (arguments
+ (list
+ #:configure-flags
+ #~(list "CFLAGS=-Wno-error=implicit-function-declaration")))
(home-page "http://www.jedrea.com/chmlib/")
(synopsis "Library for CHM files")
(description "CHMLIB is a library for dealing with ITSS/CHM format files.")