mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-31 14:56:54 +01:00
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
This commit is contained in:
parent
050407b473
commit
892cfdeffb
1 changed files with 5 additions and 0 deletions
|
@ -3915,6 +3915,11 @@ (define-public umockdev
|
|||
(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
|
||||
|
|
Loading…
Reference in a new issue