termux-packages/x11-packages/xorg-xhost/xhost.c.patch

13 lines
369 B
Diff
Raw Normal View History

diff -uNr xhost-1.0.8/xhost.c xhost-1.0.8.mod/xhost.c
--- xhost-1.0.8/xhost.c 2019-02-20 00:51:09.000000000 +0200
+++ xhost-1.0.8.mod/xhost.c 2019-10-26 16:06:33.210426710 +0300
@@ -160,7 +160,7 @@
}
#endif /* NEEDSOCKETS */
-#if defined(__CYGWIN__) || defined(WIN32)
+#if defined(__CYGWIN__) || defined(WIN32) || defined(__ANDROID__)
void sethostent(int x)
{}