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 committed by Andreas Enge
parent b61cd3fe40
commit f555405fce
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -1418,7 +1418,13 @@ It aims to conform to RFC 7159.")
(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