gnu: python-html5-parser: Fix build.

* gnu/packages/python-web.scm (python-html5-parser):
[arguments]<#:phases>{set-configure-flags}: New phase to set
`-Wno-error=implicit-function-declaration` flag.

Change-Id: I21f8f785c55c8cedf6669c221290e40e83447351
Signed-off-by: Andreas Enge <andreas@enge.fr>
This commit is contained in:
Ada Stevenson 2025-09-29 14:47:31 +08:00 committed by Maxim Cournoyer
parent 7df4eacd0f
commit 7e704db3ea
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -3530,6 +3530,14 @@ and written in Python.")
(base32 (base32
"195wgxls3df7djry9cz3p2k9644l6bfd66fczbaw55fsq0c48agr")))) "195wgxls3df7djry9cz3p2k9644l6bfd66fczbaw55fsq0c48agr"))))
(build-system python-build-system) (build-system python-build-system)
(arguments
(list
#:phases
#~(modify-phases %standard-phases
(add-before 'build 'set-configure-flags
(lambda _
(setenv "CFLAGS"
"-Wno-error=implicit-function-declaration"))))))
(native-inputs (native-inputs
(list pkg-config)) (list pkg-config))
(inputs (inputs