diff --git a/srcpkgs/kmscon/patches/define-SIGUNUSED-for-GLIBC.patch b/srcpkgs/kmscon/patches/define-SIGUNUSED-for-GLIBC.patch deleted file mode 100644 index 12ddca9ee0e..00000000000 --- a/srcpkgs/kmscon/patches/define-SIGUNUSED-for-GLIBC.patch +++ /dev/null @@ -1,17 +0,0 @@ ---- a/src/pty.c -+++ b/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/patches/sysmacros.patch b/srcpkgs/kmscon/patches/sysmacros.patch deleted file mode 100644 index 07a068427b9..00000000000 --- a/srcpkgs/kmscon/patches/sysmacros.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- a/src/uterm_vt.c 2013-10-23 23:15:18.865000000 +0200 -+++ b/src/uterm_vt.c 2020-05-27 11:59:09.636287929 +0200 -@@ -40,6 +40,7 @@ - #include - #include - #include -+#include - #include - #include - #include diff --git a/srcpkgs/kmscon/template b/srcpkgs/kmscon/template index 0683ed5d0ce..81cf56c8ef7 100644 --- a/srcpkgs/kmscon/template +++ b/srcpkgs/kmscon/template @@ -1,20 +1,21 @@ # Template file for 'kmscon' pkgname=kmscon -version=8 -revision=7 -build_style=gnu-configure -configure_args="--disable-static --disable-multi-seat" +version=9.0.0 +revision=1 +build_style=meson +configure_args="-Dwerror=false -Dtests=false" hostmakedepends="pkg-config docbook-xsl xkeyboard-config libxslt" makedepends="MesaLib-devel pango-devel libtsm-devel libxkbcommon-devel - libpciaccess-devel eudev-libudev-devel dbus-devel fuse-devel" + eudev-libudev-devel" depends="xkeyboard-config" short_desc="Terminal emulator based on Kernel Mode Setting (KMS)" maintainer="Orphaned " license="MIT" -homepage="http://www.freedesktop.org/wiki/Software/kmscon" -distfiles="${FREEDESKTOP_SITE}/kmscon/releases/kmscon-${version}.tar.xz" -checksum=0ab01c1cdc4fbd692ce765e80478bc2d9663a7c55a5c75cc7ac421366ee6ae2b +homepage="https://github.com/Aetf/kmscon" +distfiles="https://github.com/Aetf/kmscon/archive/refs/tags/v${version}.tar.gz" +checksum=eb594e48768962b665959aa9a643934f986bee68163b4ab593b9e6c987be825c lib32disabled=yes +make_check=no #tests require permission to access a drm device case "$XBPS_TARGET_MACHINE" in ppc*) broken="ftbfs";;