+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 :