gnu: json-c-0.13: Fix build with gcc-13.

* gnu/packages/web.scm (json-c-0.13)[arguments]: New field to relax gcc-14's
strictness.

Change-Id: I576160cba32e2a89c33228529579bc26e70a6877
This commit is contained in:
Janneke Nieuwenhuizen 2025-01-01 12:09:49 +01:00
parent 5db68016e1
commit 19e279a383
No known key found for this signature in database
GPG key ID: F3C1A0D9C1D65273

View file

@ -1322,7 +1322,13 @@ (define-public json-c-0.13
(set-file-time "config.h.in"
(stat "aclocal.m4"))
#t))))
(build-system gnu-build-system)))
(build-system gnu-build-system)
(arguments
(list
#:configure-flags
#~(list #$(string-append "CFLAGS=-g -O2"
" -Wno-error=calloc-transposed-args"
" -Wno-error=implicit-function-declaration"))))))
(define-public json-c-0.12
(package