[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: gnu: umockdev: Fix build with newer meson.
From: |
guix-commits |
Subject: |
branch master updated: gnu: umockdev: Fix build with newer meson. |
Date: |
Wed, 27 Nov 2024 14:18:05 -0500 |
This is an automated email from the git hooks/post-receive script.
efraim pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new 892cfdeffb gnu: umockdev: Fix build with newer meson.
892cfdeffb is described below
commit 892cfdeffb2caf963087420e18c15a77d0662a24
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Nov 27 21:16:28 2024 +0200
gnu: umockdev: Fix build with newer meson.
* gnu/packages/check.scm (umockdev)[arguments]: Add a phase to not error
on unused-variables from the code generated by vala.
Change-Id: I614304dcac9065f4299004e9e4e458d71d308e44
---
gnu/packages/check.scm | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index ef1c08f8f3..41ea34249b 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -3915,6 +3915,11 @@ pre-condition.")
(call-with-output-file "tests/test-umockdev.c"
(lambda (port)
(format port "int main(void) { return 0; }")))))
+ ;;
https://github.com/martinpitt/umockdev/issues/228#issuecomment-1968397286
+ (add-after 'unpack 'compat-with-meson-1.4
+ (lambda _
+ (substitute* "meson.build"
+ (("-Werror=unused-variable")
"-Wno-error=unused-variable"))))
;; Avoid having to set 'LD_LIBRARY_PATH' to use umockdev
;; via introspection.
(add-after 'unpack 'absolute-introspection-library
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: gnu: umockdev: Fix build with newer meson.,
guix-commits <=