diff --git a/srcpkgs/kmscon/patches/define-SIGUNUSED-for-GLIBC.patch b/srcpkgs/kmscon/patches/define-SIGUNUSED-for-GLIBC.patch new file mode 100644 index 00000000000..d53d71f9090 --- /dev/null +++ b/srcpkgs/kmscon/patches/define-SIGUNUSED-for-GLIBC.patch @@ -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; diff --git a/srcpkgs/kmscon/template b/srcpkgs/kmscon/template index dc298d07b10..d00dc21c50e 100644 --- a/srcpkgs/kmscon/template +++ b/srcpkgs/kmscon/template @@ -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"