mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 12:48:22 +00:00
ports: libxkbcommon, xdotool and missing patches
This commit is contained in:
@@ -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])
|
||||
@@ -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>
|
||||
@@ -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)
|
||||
{}
|
||||
|
||||
Reference in New Issue
Block a user