chiark / gitweb /
libuv: Update from 1.20.0 to 1.20.1
[termux-packages] / packages / gawk / no_pw_gecos.patch
1 diff -u -r ../gawk-4.1.0/awklib/eg/lib/pwcat.c ./awklib/eg/lib/pwcat.c
2 --- ../gawk-4.1.0/awklib/eg/lib/pwcat.c 2013-05-09 15:05:20.000000000 +0200
3 +++ ./awklib/eg/lib/pwcat.c     2014-02-05 23:33:08.000000000 +0100
4 @@ -23,6 +23,7 @@
5  int
6  main(int argc, char **argv)
7  {
8 +#ifndef __ANDROID__
9      struct passwd *p;
10  
11      while ((p = getpwent()) != NULL)
12 @@ -37,5 +38,6 @@
13  #endif
14  
15      endpwent();
16 +#endif
17      return 0;
18  }