[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/10: gnu: libevdev: Fix FTBFS with GCC7.
From: |
guix-commits |
Subject: |
08/10: gnu: libevdev: Fix FTBFS with GCC7. |
Date: |
Wed, 16 Jan 2019 08:41:22 -0500 (EST) |
mbakke pushed a commit to branch wip-gcc7
in repository guix.
commit 3c31e005ad7f264ea73dff22be8a2b5edb854aec
Author: Marius Bakke <address@hidden>
Date: Sun Oct 7 15:32:40 2018 +0200
gnu: libevdev: Fix FTBFS with GCC7.
* gnu/packages/xorg.scm (libevdev)[arguments]: Add phase to please "gcc
-pedantic".
---
gnu/packages/xorg.scm | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/gnu/packages/xorg.scm b/gnu/packages/xorg.scm
index 9aa6529..2436999 100644
--- a/gnu/packages/xorg.scm
+++ b/gnu/packages/xorg.scm
@@ -2398,6 +2398,18 @@ XC-APPGROUP, XTEST.")
(base32
"0xca343ff12wh6nsq76r0nbsfrm8dypjrzm4fqz9vv9v8i8kfrp1"))))
(build-system gnu-build-system)
+ (arguments
+ `(#:phases (modify-phases %standard-phases
+ (add-before 'configure 'pedantry
+ (lambda _
+ ;; XXX: libevdev includes kernel headers, which causes
this
+ ;; compile test to fail with:
+ ;;
...-headers-4.14.67/include/asm-generic/posix_types.h:88:14:
+ ;;error: ISO C90 does not support ‘long long’
[-Werror=long-long]
+ (substitute* "test/Makefile.in"
+ (("-pedantic -Werror -std=c89")
+ "-pedantic -Werror -std=c99"))
+ #t)))))
(native-inputs `(("python" ,python)))
(home-page "https://www.freedesktop.org/wiki/Software/libevdev/")
(synopsis "Wrapper library for evdev devices")
- branch wip-gcc7 created (now 2e48ea5), guix-commits, 2019/01/16
- 03/10: gnu: cmake: Try CPATH and C_INCLUDE_PATH when finding system libraries., guix-commits, 2019/01/16
- 04/10: gnu: cppunit: Update to 1.14.0., guix-commits, 2019/01/16
- 01/10: gnu: Use GCC 7 as the default compiler., guix-commits, 2019/01/16
- 02/10: gnu: python: Fix FTBFS with GCC >= 6., guix-commits, 2019/01/16
- 06/10: gnu: texlive-bin: Remove explicit C++11 flag., guix-commits, 2019/01/16
- 05/10: gnu: swig: Fix FTBFS with GCC >= 6., guix-commits, 2019/01/16
- 10/10: gnu: inkscape: Fix FTBFS with GCC >= 6., guix-commits, 2019/01/16
- 08/10: gnu: libevdev: Fix FTBFS with GCC7.,
guix-commits <=
- 09/10: gnu: hyperrogue: Fix FTBFS with GCC7., guix-commits, 2019/01/16
- 07/10: gnu: aspell: Fix FTBFS with GCC7., guix-commits, 2019/01/16