guix_mirror_bot pushed a commit to branch mesa-updates
in repository guix.

commit 9957eadf1a9f7e41076aa79b54300acba0b31e26
Author: Ada Stevenson <[email protected]>
AuthorDate: Mon Sep 29 14:47:31 2025 +0800

    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 <[email protected]>
---
 gnu/packages/python-web.scm | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 1200ffb3ad..61f53e89d5 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -3530,6 +3530,14 @@ and written in Python.")
                (base32
                 "195wgxls3df7djry9cz3p2k9644l6bfd66fczbaw55fsq0c48agr"))))
     (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
      (list pkg-config))
     (inputs

Reply via email to