new package: xhost
See https://github.com/termux/x11-packages/issues/167.
This commit is contained in:
parent
0e0b39826d
commit
cf2d6bc9a1
9
x11-packages/xorg-xhost/build.sh
Normal file
9
x11-packages/xorg-xhost/build.sh
Normal file
@ -0,0 +1,9 @@
|
||||
TERMUX_PKG_HOMEPAGE=https://xorg.freedesktop.org/
|
||||
TERMUX_PKG_DESCRIPTION="Server access control program for X"
|
||||
TERMUX_PKG_LICENSE="MIT"
|
||||
TERMUX_PKG_MAINTAINER="Leonid Plyushch <leonid.plyushch@gmail.com>"
|
||||
TERMUX_PKG_VERSION=1.0.8
|
||||
TERMUX_PKG_SRCURL=https://xorg.freedesktop.org/archive/individual/app/xhost-$TERMUX_PKG_VERSION.tar.bz2
|
||||
TERMUX_PKG_SHA256=a2dc3c579e13674947395ef8ccc1b3763f89012a216c2cc6277096489aadc396
|
||||
TERMUX_PKG_DEPENDS="libx11, libxmu"
|
||||
TERMUX_PKG_BUILD_DEPENDS="xorg-util-macros"
|
12
x11-packages/xorg-xhost/xhost.c.patch
Normal file
12
x11-packages/xorg-xhost/xhost.c.patch
Normal file
@ -0,0 +1,12 @@
|
||||
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)
|
||||
{}
|
||||
|
Loading…
Reference in New Issue
Block a user