termux-packages/packages/inetutils/utmp_logout.c.patch
Fredrik Fornwall 59f0d218a6 Initial push
2015-06-13 01:03:31 +02:00

18 lines
473 B
Diff

diff -u -r ../inetutils-1.9.3/libinetutils/utmp_logout.c ./libinetutils/utmp_logout.c
--- ../inetutils-1.9.3/libinetutils/utmp_logout.c 2015-03-31 11:40:48.000000000 -0400
+++ ./libinetutils/utmp_logout.c 2015-05-12 16:29:06.884147490 -0400
@@ -68,6 +68,7 @@
void
utmp_logout (char *line)
{
+#ifndef __ANDROID__
#ifdef HAVE_UTMPX_H
struct utmpx utx;
struct utmpx *ut;
@@ -166,4 +167,5 @@
logwtmp (line, "", "");
# endif /* HAVE_LOGOUT */
#endif
+#endif
}