ports: libxkbcommon, xdotool and missing patches

This commit is contained in:
Matheus
2026-05-21 23:25:27 -03:00
parent 34d5775521
commit 518c1ab2bf
7 changed files with 90 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
diff --git luit-clean/configure.ac luit-workdir/configure.ac
index c214d85..ba7b129 100644
--- luit-clean/configure.ac
+++ luit-workdir/configure.ac
@@ -59,10 +59,10 @@ case $host_os in
darwin*)
OS_CFLAGS=
;;
- linux*)
+ linux* | astral*)
AC_CHECK_HEADERS([poll.h])
AC_CHECK_FUNCS([poll])
- OS_CFLAGS="-D_XOPEN_SOURCE=500"
+ OS_CFLAGS="-D_XOPEN_SOURCE=600"
;;
*)
AC_CHECK_HEADERS([poll.h])
+14
View File
@@ -0,0 +1,14 @@
diff --git xdotool-clean/xdo.h xdotool-workdir/xdo.h
index 24d9865..b5ccac7 100644
--- xdotool-clean/xdo.h
+++ xdotool-workdir/xdo.h
@@ -8,6 +8,9 @@
#define __USE_XOPEN
#endif /* __USE_XOPEN */
+typedef unsigned int useconds_t;
+
+#include <time.h>
#include <sys/types.h>
#include <X11/Xlib.h>
#include <X11/X.h>
+13
View File
@@ -0,0 +1,13 @@
diff --git xhost-clean/xhost.c xhost-workdir/xhost.c
index 7a5e41a..c7a0711 100644
--- xhost-clean/xhost.c
+++ xhost-workdir/xhost.c
@@ -171,7 +171,7 @@ XFamily(int af)
}
#endif /* NEEDSOCKETS */
-#if defined(__CYGWIN__) || defined(WIN32)
+#if defined(__CYGWIN__) || defined(WIN32) || defined(__astral__)
void sethostent(int x)
{}