gnu: elogind: Fix build failure with GCC 10.
* gnu/packages/freedesktop.scm (elogind)[arguments]: Adjust substitution so that the disabled test does not return from a void, which is not allowed in newer GCC.master
parent
2feea84c49
commit
f5ca7e71e6
|
@ -645,7 +645,7 @@ the freedesktop.org XDG Base Directory specification.")
|
||||||
;; logind system so that it can flicker the monitor, etc.
|
;; logind system so that it can flicker the monitor, etc.
|
||||||
;; Just skip it until a more narrow selection can be made.
|
;; Just skip it until a more narrow selection can be made.
|
||||||
(substitute* "src/libelogind/sd-login/test-login.c"
|
(substitute* "src/libelogind/sd-login/test-login.c"
|
||||||
(("r = sd_pid_get_slice.*")
|
(("test_login\\(\\);")
|
||||||
"return 77;"))
|
"return 77;"))
|
||||||
#t))
|
#t))
|
||||||
(add-after 'unpack 'change-pid-file-path
|
(add-after 'unpack 'change-pid-file-path
|
||||||
|
|
Reference in New Issue