inetutils: Add HAVE_DECL_GETPASS checks to ftp
authorFredrik Fornwall <fredrik@fornwall.net>
Sat, 22 Oct 2016 12:20:13 +0000 (08:20 -0400)
committerFredrik Fornwall <fredrik@fornwall.net>
Sat, 22 Oct 2016 12:20:13 +0000 (08:20 -0400)
commit795d376ef1edf93ca12164232652c57c375a6fc0
tree4c0a0be32d4484a1871b2287fa548ccbe67f7b67
parent13e58126fafcd017dbd2ca7ab09ade1e216be188
inetutils: Add HAVE_DECL_GETPASS checks to ftp

Without the check for HAVE_DECL_GETPASS and declaring a local
function declaration the implicit int rule causes crashes on 64-bit
systems without getpass(3) such as Android.

Fixes #517.
packages/inetutils/build.sh
packages/inetutils/ftp-getpass.patch [new file with mode: 0644]