termux-packages/packages/krb5/getpass.patch
Vishal Biswas e38a1e2b8d add package krb5 (#588)
* add package krb5

* improve getpass handling

instead of bombarding every linking with getpass.o,
include it where necessary
2017-02-08 00:13:27 +01:00

14 lines
319 B
Diff

--- ./clients/kpasswd/ksetpwd.c 2016-12-02 04:01:24.000000000 +0530
+++ ../ksetpwd.c 2016-12-12 20:56:16.223675060 +0530
@@ -4,6 +4,10 @@
#include <unistd.h>
#include <time.h>
+#ifdef __ANDROID__
+#include "netbsd_getpass.c"
+#endif
+
#define TKTTIMELEFT 60*10 /* ten minutes */
static int verify_creds()