mutt: Update from 1.5.24 to 1.6.0

This commit is contained in:
Fredrik Fornwall 2016-04-06 06:39:30 -04:00
parent a8359366c6
commit 5b554458c2
2 changed files with 15 additions and 3 deletions

View File

@ -1,8 +1,7 @@
TERMUX_PKG_HOMEPAGE=http://www.mutt.org/
TERMUX_PKG_DESCRIPTION="Mail client"
TERMUX_PKG_VERSION=1.5.24
TERMUX_PKG_BUILD_REVISION=3
TERMUX_PKG_SRCURL=https://bitbucket.org/mutt/mutt/downloads/mutt-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_VERSION=1.6.0
TERMUX_PKG_SRCURL=ftp://ftp.mutt.org/pub/mutt/mutt-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_DEPENDS="libandroid-support, ncurses, gdbm, openssl, libsasl, gpgme"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--enable-smtp --enable-imap --enable-pop --with-mailpath=$TERMUX_PREFIX/var/mail --with-ssl --enable-compressed --without-idn --enable-hcache --with-sasl"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" --with-exec-shell=$TERMUX_PREFIX/bin/sh"

View File

@ -0,0 +1,13 @@
diff -u -r ../mutt-1.6.0/getdomain.c ./getdomain.c
--- ../mutt-1.6.0/getdomain.c 2016-04-02 14:12:22.000000000 -0400
+++ ./getdomain.c 2016-04-06 06:18:24.614628451 -0400
@@ -44,7 +44,9 @@
hints.ai_flags = AI_CANONNAME;
hints.ai_family = AF_UNSPEC;
+#ifdef _SC_HOST_NAME_MAX
if ((node_len = sysconf(_SC_HOST_NAME_MAX)) == -1)
+#endif
node_len = STRING;
node = safe_malloc(node_len + 1);
if (gethostname(node, node_len))