termux-packages/packages/libc-client/src-osdep-unix-ckp_psx.c.patch
2021-12-10 22:21:22 +02:00

19 lines
381 B
Diff

--- a/src/osdep/unix/ckp_psx.c
+++ b/src/osdep/unix/ckp_psx.c
@@ -36,6 +36,9 @@
struct passwd *checkpw (struct passwd *pw,char *pass,int argc,char *argv[])
{
+#ifdef __ANDROID__
+ return NIL;
+#else
char tmp[MAILTMPLEN];
struct spwd *sp = NIL;
time_t left;
@@ -98,4 +101,5 @@
else pw = NIL; /* password failed */
}
return pw;
+#endif /* __ANDROID__ */
}