diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2024-11-27 21:16:28 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-11-27 21:16:28 +0200 |
commit | 892cfdeffb2caf963087420e18c15a77d0662a24 (patch) | |
tree | 5f446b0e912e8801feddf0584a1bee2d0b56c76f | |
parent | 050407b473ac755c911be678b02626d40b25c122 (diff) | |
download | guix-892cfdeffb2caf963087420e18c15a77d0662a24.tar.gz guix-892cfdeffb2caf963087420e18c15a77d0662a24.zip |
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
-rw-r--r-- | gnu/packages/check.scm | 5 |
1 files changed, 5 insertions, 0 deletions
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 |