xorg-twm: update patches

This commit is contained in:
Leonid Pliushch 2020-09-24 00:08:28 +03:00 committed by Yaksh Bariya
parent 7eca6fc403
commit 17f3a4871a
No known key found for this signature in database
GPG Key ID: F7486BA7D3D27581
4 changed files with 24 additions and 24 deletions

View File

@ -1,12 +0,0 @@
diff -uNr twm-1.0.10/src/deftwmrc.c twm-1.0.10.mod/src/deftwmrc.c
--- twm-1.0.10/src/deftwmrc.c 2018-03-07 09:10:33.000000000 +0200
+++ twm-1.0.10.mod/src/deftwmrc.c 2018-06-17 22:57:34.858908574 +0300
@@ -67,7 +67,7 @@
(unsigned char *) "\"Show Iconmgr\" f.showiconmgr",
(unsigned char *) "\"Hide Iconmgr\" f.hideiconmgr",
(unsigned char *) "\"\" f.nop",
- (unsigned char *) "\"Xterm\" f.exec \"exec xterm &\"",
+ (unsigned char *) "\"Aterm\" f.exec \"exec aterm &\"",
(unsigned char *) "\"\" f.nop",
(unsigned char *) "\"Kill\" f.destroy",
(unsigned char *) "\"Delete\" f.delete",

View File

@ -1,12 +0,0 @@
diff -uNr twm-1.0.10/src/menus.c twm-1.0.10.mod/src/menus.c
--- twm-1.0.10/src/menus.c 2018-03-07 09:10:22.000000000 +0200
+++ twm-1.0.10.mod/src/menus.c 2018-06-17 22:56:18.428908009 +0300
@@ -2243,7 +2243,7 @@
}
break;
case F_STARTWM:
- execlp("/bin/sh", "sh", "-c", action, (void *)NULL);
+ execlp("@TERMUX_PREFIX@/bin/sh", "sh", "-c", action, (void *)NULL);
fprintf (stderr, "%s: unable to start: %s\n", ProgramName, *Argv);
break;

View File

@ -0,0 +1,12 @@
diff -uNr twm-1.0.11/src/deftwmrc.c twm-1.0.11.mod/src/deftwmrc.c
--- twm-1.0.11/src/deftwmrc.c 2020-06-15 02:58:29.000000000 +0300
+++ twm-1.0.11.mod/src/deftwmrc.c 2020-09-24 00:07:30.293425716 +0300
@@ -67,7 +67,7 @@
(const unsigned char *) "\"Show Iconmgr\" f.showiconmgr",
(const unsigned char *) "\"Hide Iconmgr\" f.hideiconmgr",
(const unsigned char *) "\"\" f.nop",
- (const unsigned char *) "\"Xterm\" f.exec \"exec xterm &\"",
+ (const unsigned char *) "\"Aterm\" f.exec \"exec aterm &\"",
(const unsigned char *) "\"\" f.nop",
(const unsigned char *) "\"Kill\" f.destroy",
(const unsigned char *) "\"Delete\" f.delete",

View File

@ -0,0 +1,12 @@
diff -uNr twm-1.0.11/src/menus.c twm-1.0.11.mod/src/menus.c
--- twm-1.0.11/src/menus.c 2020-06-15 02:58:19.000000000 +0300
+++ twm-1.0.11.mod/src/menus.c 2020-09-24 00:06:10.268351973 +0300
@@ -2193,7 +2193,7 @@
}
break;
case F_STARTWM:
- execlp("/bin/sh", "sh", "-c", action, (void *) NULL);
+ execlp("@TERMUX_PREFIX@/bin/sh", "sh", "-c", action, (void *) NULL);
fprintf(stderr, "%s: unable to start: %s\n", ProgramName, *Argv);
break;