diff --git a/packages/wget/build.sh b/packages/wget/build.sh index 7390239b4..f9f5a188d 100644 --- a/packages/wget/build.sh +++ b/packages/wget/build.sh @@ -1,9 +1,8 @@ TERMUX_PKG_HOMEPAGE=https://www.gnu.org/software/wget/ TERMUX_PKG_DESCRIPTION="Commandline tool for retrieving files using HTTP, HTTPS and FTP" TERMUX_PKG_LICENSE="GPL-3.0" -TERMUX_PKG_VERSION=1.20.1 -TERMUX_PKG_REVISION=2 -TERMUX_PKG_SHA256=0f63e84dd23dc53ab3ab6f483c3afff8301e54c165783f772101cdd9b1c64928 +TERMUX_PKG_VERSION=1.20.2 +TERMUX_PKG_SHA256=84d3cbece8c08e130a8da0a72cf6e543a2adf58ca8ecf28726560b06243d4ce6 TERMUX_PKG_SRCURL=https://mirrors.kernel.org/gnu/wget/wget-${TERMUX_PKG_VERSION}.tar.lz TERMUX_PKG_DEPENDS="pcre2, openssl, libuuid, libandroid-support, libunistring" TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" diff --git a/packages/wget/lib-stdio-impl.h.patch b/packages/wget/lib-stdio-impl.h.patch index d3bfbd53a..f965c5a47 100644 --- a/packages/wget/lib-stdio-impl.h.patch +++ b/packages/wget/lib-stdio-impl.h.patch @@ -1,12 +1,12 @@ -diff -u -r ../coreutils-8.30/lib/stdio-impl.h ./lib/stdio-impl.h ---- ../coreutils-8.30/lib/stdio-impl.h 2018-06-24 06:52:06.000000000 +0200 -+++ ./lib/stdio-impl.h 2018-07-03 11:05:27.353619181 +0200 +diff -u -r ../wget-1.20.2/lib/stdio-impl.h ./lib/stdio-impl.h +--- ../wget-1.20.2/lib/stdio-impl.h 2019-04-01 18:26:23.000000000 +0000 ++++ ./lib/stdio-impl.h 2019-04-03 21:54:29.141765465 +0000 @@ -60,7 +60,7 @@ # define _flags pub._flags # define _r pub._r # define _w pub._w -# elif defined __ANDROID__ /* Android */ +# elif defined __ANDROID_BUT_THIS_IS_BROKEN__ /* Android */ - /* Up to this commit from 2015-10-12 - - the innards of FILE were public, and fp_ub could be defined like for OpenBSD, + # ifdef __LP64__ + # define _gl_flags_file_t int + # else