From 6590eb5b23c5b174d3f3076c2e54163102842f9f Mon Sep 17 00:00:00 2001 From: Leonid Pliushch Date: Sun, 22 Nov 2020 20:52:14 +0000 Subject: [PATCH] zile: update to 2.4.15 --- packages/zile/build.sh | 5 ++--- packages/zile/lib-vasnprintf.c.patch | 12 ++++++------ 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/packages/zile/build.sh b/packages/zile/build.sh index 02779829f..97eb52404 100644 --- a/packages/zile/build.sh +++ b/packages/zile/build.sh @@ -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=" diff --git a/packages/zile/lib-vasnprintf.c.patch b/packages/zile/lib-vasnprintf.c.patch index e3d7c46a5..c90e6640b 100644 --- a/packages/zile/lib-vasnprintf.c.patch +++ b/packages/zile/lib-vasnprintf.c.patch @@ -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';