kmscon: update to 9.0.0, switch to Aetf's fork

This commit is contained in:
RunningDroid 2022-12-28 23:42:24 -05:00 committed by Toyam Cox
parent 4bb4656df4
commit 43d3b123e1
3 changed files with 9 additions and 35 deletions

View File

@ -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;

View File

@ -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 <sys/ioctl.h>
#include <sys/signalfd.h>
#include <sys/stat.h>
+#include <sys/sysmacros.h>
#include <termios.h>
#include <time.h>
#include <unistd.h>

View File

@ -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 <orphan@voidlinux.org>"
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";;