termux-packages/packages/libc-client/src-osdep-unix-ckp_psx.c.patch

19 lines
381 B
Diff
Raw Normal View History

2021-12-10 18:19:45 +01:00
--- 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__ */
}