x11-packages/libwayland/xdg-runtime-dir.patch: Removed.
This commit is contained in:
parent
577094eaa9
commit
42e623720a
|
@ -1,46 +0,0 @@
|
||||||
diff -uNr wayland-1.17.0/cursor/os-compatibility.c wayland-1.17.0.mod/cursor/os-compatibility.c
|
|
||||||
--- wayland-1.17.0/cursor/os-compatibility.c 2019-03-21 02:55:25.000000000 +0200
|
|
||||||
+++ wayland-1.17.0.mod/cursor/os-compatibility.c 2019-07-01 22:32:38.256153848 +0300
|
|
||||||
@@ -111,8 +111,7 @@
|
|
||||||
|
|
||||||
path = getenv("XDG_RUNTIME_DIR");
|
|
||||||
if (!path) {
|
|
||||||
- errno = ENOENT;
|
|
||||||
- return -1;
|
|
||||||
+ path = "@TERMUX_PREFIX@/tmp";
|
|
||||||
}
|
|
||||||
|
|
||||||
name = malloc(strlen(path) + sizeof(template));
|
|
||||||
diff -uNr wayland-1.17.0/src/wayland-client.c wayland-1.17.0.mod/src/wayland-client.c
|
|
||||||
--- wayland-1.17.0/src/wayland-client.c 2019-03-21 02:55:25.000000000 +0200
|
|
||||||
+++ wayland-1.17.0.mod/src/wayland-client.c 2019-07-01 22:33:25.633279646 +0300
|
|
||||||
@@ -962,11 +962,7 @@
|
|
||||||
|
|
||||||
runtime_dir = getenv("XDG_RUNTIME_DIR");
|
|
||||||
if (!runtime_dir && !path_is_absolute) {
|
|
||||||
- wl_log("error: XDG_RUNTIME_DIR not set in the environment.\n");
|
|
||||||
- /* to prevent programs reporting
|
|
||||||
- * "failed to create display: Success" */
|
|
||||||
- errno = ENOENT;
|
|
||||||
- return -1;
|
|
||||||
+ runtime_dir = "@TERMUX_PREFIX@/tmp";
|
|
||||||
}
|
|
||||||
|
|
||||||
fd = wl_os_socket_cloexec(PF_LOCAL, SOCK_STREAM, 0);
|
|
||||||
diff -uNr wayland-1.17.0/src/wayland-server.c wayland-1.17.0.mod/src/wayland-server.c
|
|
||||||
--- wayland-1.17.0/src/wayland-server.c 2019-03-21 02:55:25.000000000 +0200
|
|
||||||
+++ wayland-1.17.0.mod/src/wayland-server.c 2019-07-01 22:34:05.100325582 +0300
|
|
||||||
@@ -1427,12 +1427,7 @@
|
|
||||||
|
|
||||||
runtime_dir = getenv("XDG_RUNTIME_DIR");
|
|
||||||
if (!runtime_dir) {
|
|
||||||
- wl_log("error: XDG_RUNTIME_DIR not set in the environment\n");
|
|
||||||
-
|
|
||||||
- /* to prevent programs reporting
|
|
||||||
- * "failed to add socket: Success" */
|
|
||||||
- errno = ENOENT;
|
|
||||||
- return -1;
|
|
||||||
+ runtime_dir = "@TERMUX_PREFIX@/tmp";
|
|
||||||
}
|
|
||||||
|
|
||||||
s->addr.sun_family = AF_LOCAL;
|
|
Loading…
Reference in New Issue