nano: Update from 4.2 to 4.3

This commit is contained in:
Fredrik Fornwall 2019-06-23 23:38:06 +02:00
parent af6923ed51
commit 994bf4073c
2 changed files with 9 additions and 9 deletions

View File

@ -1,8 +1,8 @@
TERMUX_PKG_HOMEPAGE=https://www.nano-editor.org/
TERMUX_PKG_DESCRIPTION="Small, free and friendly text editor"
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_VERSION=4.2
TERMUX_PKG_SHA256=1143defce62e391b241252ffdb6e5c1ded56cfe26d46ee81b796abe0ccc45df9
TERMUX_PKG_VERSION=4.3
TERMUX_PKG_SHA256=00d3ad1a287a85b4bf83e5f06cedd0a9f880413682bebd52b4b1e2af8cfc0d81
TERMUX_PKG_SRCURL=https://nano-editor.org/dist/latest/nano-$TERMUX_PKG_VERSION.tar.xz
TERMUX_PKG_DEPENDS="libandroid-support, libandroid-glob, ncurses"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="

View File

@ -1,12 +1,12 @@
diff -uNr nano-2.9.8/src/text.c nano-2.9.8.mod/src/text.c
--- nano-2.9.8/src/text.c 2018-06-02 11:20:07.000000000 +0300
+++ nano-2.9.8.mod/src/text.c 2018-06-19 19:03:48.071389233 +0300
@@ -1147,7 +1147,7 @@
diff -u -r ../nano-4.3/src/text.c ./src/text.c
--- ../nano-4.3/src/text.c 2019-06-11 11:55:31.000000000 +0000
+++ ./src/text.c 2019-06-23 21:36:28.191047000 +0000
@@ -956,7 +956,7 @@
/* Check which shell to use. If none is specified, use /bin/sh. */
shellenv = getenv("SHELL");
if (shellenv == NULL)
- shellenv = (char *) "/bin/sh";
+ shellenv = (char *) "@TERMUX_PREFIX@/bin/sh";
- shellenv = (char *)"/bin/sh";
+ shellenv = (char *)"@TERMUX_PREFIX@/bin/sh";
/* Fork a child process to run the command in. */
if ((pid = fork()) == 0) {
if ((pid_of_command = fork()) == 0) {