From 61f7f152e4d1956a036d821042ff05b0e3a10075 Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Fri, 5 Jan 2018 22:57:31 +0100 Subject: [PATCH] nano: Update from 2.9.1 to 2.9.2 --- packages/nano/build.sh | 5 +++-- packages/nano/src-files.c.patch | 21 --------------------- 2 files changed, 3 insertions(+), 23 deletions(-) delete mode 100644 packages/nano/src-files.c.patch diff --git a/packages/nano/build.sh b/packages/nano/build.sh index 9c186eeab..f16a582d9 100644 --- a/packages/nano/build.sh +++ b/packages/nano/build.sh @@ -1,10 +1,11 @@ TERMUX_PKG_HOMEPAGE=https://www.nano-editor.org/ TERMUX_PKG_DESCRIPTION="Small, free and friendly text editor" -TERMUX_PKG_VERSION=2.9.1 -TERMUX_PKG_SHA256=41650407cf1d4b752f31dc05e7c63319957e3dc86e9fb6ad51760e8b36941d19 +TERMUX_PKG_VERSION=2.9.2 +TERMUX_PKG_SHA256=1ed3c61100181bebb2bf60d60a44a3b9658410cbe05f375f7b3814b2973c8fd1 TERMUX_PKG_SRCURL=https://www.nano-editor.org/dist/v${TERMUX_PKG_VERSION:0:3}/nano-${TERMUX_PKG_VERSION}.tar.gz TERMUX_PKG_DEPENDS="libandroid-support, libandroid-glob, ncurses" TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" +ac_cv_header_pwd_h=no --disable-libmagic --enable-utf8 --with-wordbounds diff --git a/packages/nano/src-files.c.patch b/packages/nano/src-files.c.patch deleted file mode 100644 index 936ed8c8e..000000000 --- a/packages/nano/src-files.c.patch +++ /dev/null @@ -1,21 +0,0 @@ -diff -u -r ../nano-2.8.6/src/files.c ./src/files.c ---- ../nano-2.8.6/src/files.c 2017-07-21 09:44:46.000000000 +0200 -+++ ./src/files.c 2017-07-22 16:01:40.806964191 +0200 -@@ -2337,7 +2337,7 @@ - get_homedir(); - tilde_dir = mallocstrcpy(NULL, homedir); - } else { --#ifdef HAVE_PWD_H -+#if defined(HAVE_PWD_H) && !defined(__ANDROID__) - const struct passwd *userdata; - - tilde_dir = mallocstrncpy(NULL, buf, i + 1); -@@ -2451,7 +2451,7 @@ - - *num_matches = 0; - --#ifdef HAVE_PWD_H -+#if defined(HAVE_PWD_H) && !defined(__ANDROID__) - while ((userdata = getpwent()) != NULL) { - if (strncmp(userdata->pw_name, buf + 1, buf_len - 1) == 0) { - /* Cool, found a match. Add it to the list. This makes a