zile: update to 2.4.15

This commit is contained in:
Leonid Pliushch 2020-11-22 20:52:14 +00:00
parent ea04260911
commit 6590eb5b23
2 changed files with 8 additions and 9 deletions

View File

@ -1,10 +1,9 @@
TERMUX_PKG_HOMEPAGE=https://www.gnu.org/software/zile/
TERMUX_PKG_DESCRIPTION="Lightweight clone of the Emacs text editor"
TERMUX_PKG_LICENSE="GPL-3.0"
TERMUX_PKG_VERSION=2.4.14
TERMUX_PKG_REVISION=4
TERMUX_PKG_VERSION=2.4.15
TERMUX_PKG_SRCURL=https://mirrors.kernel.org/gnu/zile/zile-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=7a78742795ca32480f2bab697fd5e328618d9997d6f417cf1b14e9da9af26b74
TERMUX_PKG_SHA256=39c300a34f78c37ba67793cf74685935a15568e14237a3a66fda8fcf40e3035e
TERMUX_PKG_DEPENDS="libgc, ncurses"
TERMUX_PKG_BUILD_IN_SRC=true
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="

View File

@ -1,12 +1,12 @@
diff -uNr zile-2.4.14/lib/vasnprintf.c zile-2.4.14.mod/lib/vasnprintf.c
--- zile-2.4.14/lib/vasnprintf.c 2017-10-06 00:00:15.000000000 +0300
+++ zile-2.4.14.mod/lib/vasnprintf.c 2019-11-19 21:04:35.375719251 +0200
@@ -4872,7 +4872,7 @@
diff -uNr zile-2.4.15/lib/vasnprintf.c zile-2.4.15.mod/lib/vasnprintf.c
--- zile-2.4.15/lib/vasnprintf.c 2020-10-03 20:49:03.000000000 +0000
+++ zile-2.4.15.mod/lib/vasnprintf.c 2020-11-22 20:55:13.810138494 +0000
@@ -4874,7 +4874,7 @@
# if ! (((__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) \
&& !defined __UCLIBC__) \
|| (defined __APPLE__ && defined __MACH__) \
- || ((defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__))
+ || ((defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__) || defined(__ANDROID__))
- || (defined _WIN32 && ! defined __CYGWIN__))
+ || (defined _WIN32 && ! defined __CYGWIN__) || defined(__ANDROID__))
fbp[1] = '%';
fbp[2] = 'n';
fbp[3] = '\0';