[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
15/15: gnu: elogind: Fix build failure with GCC 10.
From: |
guix-commits |
Subject: |
15/15: gnu: elogind: Fix build failure with GCC 10. |
Date: |
Thu, 13 May 2021 11:05:53 -0400 (EDT) |
mbakke pushed a commit to branch core-updates
in repository guix.
commit f5ca7e71e6a9bc9df4d585ef0084411f665902ec
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Thu May 13 16:38:58 2021 +0200
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.
---
gnu/packages/freedesktop.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm
index 6c05c9a..081cae5 100644
--- a/gnu/packages/freedesktop.scm
+++ b/gnu/packages/freedesktop.scm
@@ -645,7 +645,7 @@ the freedesktop.org XDG Base Directory specification.")
;; logind system so that it can flicker the monitor, etc.
;; Just skip it until a more narrow selection can be made.
(substitute* "src/libelogind/sd-login/test-login.c"
- (("r = sd_pid_get_slice.*")
+ (("test_login\\(\\);")
"return 77;"))
#t))
(add-after 'unpack 'change-pid-file-path
- branch core-updates updated (09a1e17 -> f5ca7e7), guix-commits, 2021/05/13
- 04/15: gnu: cairo: Remove duplicate input., guix-commits, 2021/05/13
- 11/15: gnu: libwebp: Update to 1.2.0., guix-commits, 2021/05/13
- 08/15: gnu: python-pytest-asyncio: Update to 0.15.1., guix-commits, 2021/05/13
- 13/15: gnu: mozjs: Build with Rust 1.41., guix-commits, 2021/05/13
- 01/15: gnu: Fix references to unbound variables., guix-commits, 2021/05/13
- 03/15: gnu: GTK+: Remove unused inputs., guix-commits, 2021/05/13
- 10/15: gnu: python-pygobject: Update to 3.40.1., guix-commits, 2021/05/13
- 15/15: gnu: elogind: Fix build failure with GCC 10.,
guix-commits <=
- 12/15: gnu: shepherd: Decrease optimization level., guix-commits, 2021/05/13
- 07/15: gnu: librsvg: Update to 2.50.5., guix-commits, 2021/05/13
- 06/15: gnu: librsvg: Build with Rust 1.48., guix-commits, 2021/05/13
- 02/15: gnu: freeglut: Fix build with GCC 10., guix-commits, 2021/05/13
- 05/15: gnu: Rust: Export all versions., guix-commits, 2021/05/13
- 14/15: gnu: mozjs: Update to 78.10.1., guix-commits, 2021/05/13
- 09/15: gnu: python-pycairo: Update to 1.20.0., guix-commits, 2021/05/13