zile: android 10 fix
Should fix the following error: zile: FORTIFY: %n not allowed on Andorid
This commit is contained in:
parent
5728e532b2
commit
04a675c091
@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="Lightweight clone of the Emacs text editor"
|
||||
TERMUX_PKG_LICENSE="GPL-3.0"
|
||||
TERMUX_PKG_MAINTAINER="Iain Nicol @iainnicol"
|
||||
TERMUX_PKG_VERSION=2.4.14
|
||||
TERMUX_PKG_REVISION=2
|
||||
TERMUX_PKG_REVISION=3
|
||||
TERMUX_PKG_SRCURL=https://mirrors.kernel.org/gnu/zile/zile-${TERMUX_PKG_VERSION}.tar.gz
|
||||
TERMUX_PKG_SHA256=7a78742795ca32480f2bab697fd5e328618d9997d6f417cf1b14e9da9af26b74
|
||||
TERMUX_PKG_DEPENDS="libgc, ncurses"
|
||||
|
12
packages/zile/lib-vasnprintf.c.patch
Normal file
12
packages/zile/lib-vasnprintf.c.patch
Normal file
@ -0,0 +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 @@
|
||||
# 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__))
|
||||
fbp[1] = '%';
|
||||
fbp[2] = 'n';
|
||||
fbp[3] = '\0';
|
Loading…
Reference in New Issue
Block a user