[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/05: gnu: libcss: Fix building with gcc-10.
From: |
guix-commits |
Subject: |
02/05: gnu: libcss: Fix building with gcc-10. |
Date: |
Sun, 8 Aug 2021 08:15:42 -0400 (EDT) |
efraim pushed a commit to branch core-updates-frozen
in repository guix.
commit d30130bcd6c0dfff262d0bcf03175514391d9aa3
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Aug 8 14:34:19 2021 +0300
gnu: libcss: Fix building with gcc-10.
* gnu/packages/web.scm (libcss)[source]: Add snippet to initialize the
value of a variable.
---
gnu/packages/web.scm | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 3018dd4..23a4130 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -5387,7 +5387,13 @@ developed as part of the Netsurf project.")
"libcss-" version "-src.tar.gz"))
(sha256
(base32
- "1p66sdiiqm7w4jkq23hsf08khsnmq93hshh9f9m8sbirjdpf3p6j"))))
+ "1p66sdiiqm7w4jkq23hsf08khsnmq93hshh9f9m8sbirjdpf3p6j"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin
+ ;; This can be removed with the next release.
+ (substitute* "src/select/computed.c"
+ (("css_unit unit;") "css_unit unit = CSS_UNIT_PX;"))))))
(build-system gnu-build-system)
(native-inputs
`(("netsurf-buildsystem" ,netsurf-buildsystem)