From 852e246d8ba5c77ebc8163f3c9641c31fd485c81 Mon Sep 17 00:00:00 2001 From: Leonid Pliushch Date: Sun, 8 Mar 2020 20:29:36 +0200 Subject: [PATCH] i3: update patches --- .../i3/i3-4.15_i3bar_src_main.c.patch | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/x11-packages/i3/i3-4.15_i3bar_src_main.c.patch b/x11-packages/i3/i3-4.15_i3bar_src_main.c.patch index ff2af512e..56b118bb4 100644 --- a/x11-packages/i3/i3-4.15_i3bar_src_main.c.patch +++ b/x11-packages/i3/i3-4.15_i3bar_src_main.c.patch @@ -1,12 +1,12 @@ -diff -uNr i3-4.15/i3bar/src/main.c i3-4.15.mod/i3bar/src/main.c ---- i3-4.15/i3bar/src/main.c 2018-03-10 19:29:14.000000000 +0200 -+++ i3-4.15.mod/i3bar/src/main.c 2018-06-21 19:48:29.546920631 +0300 -@@ -96,7 +96,7 @@ - if (socket_path != NULL) { - socket_path = sstrdup(socket_path); +diff -uNr i3-4.18/i3bar/src/main.c i3-4.18.mod/i3bar/src/main.c +--- i3-4.18/i3bar/src/main.c 2020-02-17 19:27:38.000000000 +0200 ++++ i3-4.18.mod/i3bar/src/main.c 2020-03-08 20:28:48.821977158 +0200 +@@ -160,7 +160,7 @@ } -- char *i3_default_sock_path = "/tmp/i3-ipc.sock"; -+ char *i3_default_sock_path = "@TERMUX_PREFIX@/tmp/i3-ipc.sock"; - /* Initialize the standard config to use 0 as default */ - memset(&config, '\0', sizeof(config_t)); + if (socket_path == NULL) { +- char *i3_default_sock_path = "/tmp/i3-ipc.sock"; ++ char *i3_default_sock_path = "@TERMUX_PREFIX@/tmp/i3-ipc.sock"; + ELOG("No socket path specified, default to %s\n", i3_default_sock_path); + socket_path = sstrdup(i3_default_sock_path); + }