[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
27/29: gnu: libevdev: Fix FTBFS with GCC7.
From: |
guix-commits |
Subject: |
27/29: gnu: libevdev: Fix FTBFS with GCC7. |
Date: |
Sat, 9 Feb 2019 15:55:26 -0500 (EST) |
mbakke pushed a commit to branch core-updates
in repository guix.
commit 43d4c2298143631ada19539314c99775c18747e7
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 bf7a405..15ebd38 100644
--- a/gnu/packages/xorg.scm
+++ b/gnu/packages/xorg.scm
@@ -2402,6 +2402,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")
- 18/29: gnu: python-packaging: Update to 19.0., (continued)
- 18/29: gnu: python-packaging: Update to 19.0., guix-commits, 2019/02/09
- 23/29: gnu: cmake: Try CPATH and C_INCLUDE_PATH when finding system libraries., guix-commits, 2019/02/09
- 21/29: gnu: glibc-final-with-bootstrap-bash: Don't enable obsolete rpc., guix-commits, 2019/02/09
- 24/29: gnu: cppunit: Update to 1.14.0., guix-commits, 2019/02/09
- 07/29: gnu: Remove address@hidden, guix-commits, 2019/02/09
- 08/29: gnu: python-pycodestyle: Update to 2.5.0., guix-commits, 2019/02/09
- 13/29: gnu: python-configparser: Update to 3.7.1., guix-commits, 2019/02/09
- 19/29: gnu: python-dateutil: Update to 2.8.0., guix-commits, 2019/02/09
- 22/29: gnu: python: Fix FTBFS with GCC >= 6., guix-commits, 2019/02/09
- 25/29: gnu: swig: Fix FTBFS with GCC >= 6., guix-commits, 2019/02/09
- 27/29: gnu: libevdev: Fix FTBFS with GCC7.,
guix-commits <=
- 26/29: gnu: aspell: Fix FTBFS with GCC7., guix-commits, 2019/02/09
- 20/29: gnu: Use GCC 7 as the default compiler., guix-commits, 2019/02/09
- 29/29: gnu: inkscape: Fix FTBFS with GCC >= 6., guix-commits, 2019/02/09
- 28/29: gnu: hyperrogue: Fix FTBFS with GCC7., guix-commits, 2019/02/09