kmscon: fix build with glibc>=2.26.
Closes #10868. Signed-off-by: Enno Boland <gottox@voidlinux.eu>
This commit is contained in:
parent
222017237e
commit
e20ebcf10a
|
@ -0,0 +1,17 @@
|
|||
--- src/pty.c
|
||||
+++ src/pty.c
|
||||
@@ -46,6 +46,14 @@
|
||||
|
||||
#define KMSCON_NREAD 16384
|
||||
|
||||
+/* ever since glibc 2.26 SIGUNUSED is no longer defined on any architerture
|
||||
+ * http://man7.org/linux/man-pages/man7/signal.7.html
|
||||
+ * according to signal(7) SIGUNUSED is synonymous with SIGSYS, musl defines it as such
|
||||
+ */
|
||||
+#ifdef __GLIBC__
|
||||
+#define SIGUNUSED SIGSYS
|
||||
+#endif
|
||||
+
|
||||
struct kmscon_pty {
|
||||
unsigned long ref;
|
||||
struct ev_eloop *eloop;
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'kmscon'
|
||||
pkgname=kmscon
|
||||
version=8
|
||||
revision=5
|
||||
revision=6
|
||||
lib32disabled=yes
|
||||
build_style=gnu-configure
|
||||
configure_args="--disable-static --disable-multi-seat"
|
||||
|
|
Loading…
Reference in New Issue