gnupg2: Depend on pinentry and configure patch

This commit is contained in:
Fredrik Fornwall 2016-01-20 17:24:42 -05:00
parent 55835f219e
commit 01c4a6f51b
2 changed files with 19 additions and 2 deletions

View File

@ -1,9 +1,9 @@
TERMUX_PKG_HOMEPAGE=http://www.gnupg.org/
TERMUX_PKG_DESCRIPTION="Implementation of the OpenPGP standard for encrypting and signing data and communication"
TERMUX_PKG_VERSION=2.1.10
TERMUX_PKG_BUILD_REVISION=1
TERMUX_PKG_BUILD_REVISION=2
TERMUX_PKG_SRCURL=ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-${TERMUX_PKG_VERSION}.tar.bz2
TERMUX_PKG_DEPENDS="libassuan,libbz2,libgcrypt,libksba,libnpth,readline"
TERMUX_PKG_DEPENDS="libassuan,libbz2,libgcrypt,libksba,libnpth,readline,pinentry"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-ldap --disable-sqlite"
# Remove non-english help files and man pages shipped with the gnupg (1) package:
TERMUX_PKG_RM_AFTER_INSTALL="share/gnupg/help.*.txt share/man/man1/gpg-zip.1 share/man/man7/gnupg.7"

View File

@ -0,0 +1,17 @@
diff -u -r ../gnupg-2.1.10/configure ./configure
--- ../gnupg-2.1.10/configure 2015-12-04 04:57:06.000000000 -0500
+++ ./configure 2016-01-20 16:52:13.149463376 -0500
@@ -14612,13 +14612,6 @@
done
-if test "$have_android_system" = yes; then
- # On Android ttyname is a stub but prints an error message.
-
-$as_echo "#define HAVE_BROKEN_TTYNAME 1" >>confdefs.h
-
-fi
-
ac_fn_c_check_type "$LINENO" "struct sigaction" "ac_cv_type_struct_sigaction" "#include <signal.h>
"
if test "x$ac_cv_type_struct_sigaction" = xyes; then :