From a626d16fe7661b747a100d66fe41cfc9b071492c Mon Sep 17 00:00:00 2001 From: Janneke Nieuwenhuizen Date: Thu, 2 Jan 2025 14:40:13 +0100 Subject: [PATCH] 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 0cd2b31724..d7641f923a 100644 --- a/gnu/packages/ebook.scm +++ b/gnu/packages/ebook.scm @@ -12,6 +12,7 @@ ;;; Copyright © 2021 Petr Hodina ;;; Copyright © 2021 Mathieu Laparie ;;; Copyright © 2024 jgart +;;; Copyright © 2025 Janneke Nieuwenhuizen ;;; ;;; This file is part of GNU Guix. ;;; @@ -99,6 +100,10 @@ (define-public chmlib "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.")