Fixing paths again for xwayland.

This commit is contained in:
sergiotarxz 2022-05-14 04:56:38 +02:00
parent 755d041ab3
commit 88066ffdac
2 changed files with 16 additions and 1 deletions

View File

@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="Wayland X11 server"
TERMUX_PKG_LICENSE="MIT"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=22.1.0
TERMUX_PKG_REVISION=15
TERMUX_PKG_REVISION=16
TERMUX_PKG_SRCURL=https://gitlab.freedesktop.org/xorg/xserver/-/archive/xwayland-${TERMUX_PKG_VERSION}/xserver-xwayland-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=972d5456445049855a669c1418f20ecbc290c85b1b59602a01c6afa199203389
TERMUX_PKG_DEPENDS="libandroid-shmem, libdrm, libpciaccess, libpixman, libx11, libxau, libxfont2, libxinerama, libxkbfile, libxshmfence, mesa, openssl, xkeyboard-config, xorg-xkbcomp, libwayland, libwayland-protocols, libepoxy, libxcvt, libtirpc"

View File

@ -50,3 +50,18 @@ index 6cefc02ac..e1e31b9aa 100644
}
int
diff --git a/xkb/ddxLoad.c b/xkb/ddxLoad.c
index ea7e34700..277e5221d 100644
--- a/xkb/ddxLoad.c
+++ b/xkb/ddxLoad.c
@@ -76,8 +76,8 @@ OutputDirectory(char *outdir, size_t size)
}
else
#endif
- if (strlen("/tmp/") < size) {
- (void) strcpy(outdir, "/tmp/");
+ if (strlen("/data/data/me.sergiotarxz.openmg.x11/files/usr/tmp/") < size) {
+ (void) strcpy(outdir, "/data/data/me.sergiotarxz.openmg.x11/files/usr/tmp/");
}
}