libnghttp2: Update from 1.31.0 to 1.31.1
[termux-packages] / packages / abook / filter.c.patch
CommitLineData
5e7f900d
FF
1diff -u -r ../abook-0.6.0pre2/filter.c ./filter.c
2--- ../abook-0.6.0pre2/filter.c 2006-09-06 01:26:10.000000000 -0400
3+++ ./filter.c 2016-08-09 15:02:24.050415314 -0400
4@@ -146,6 +146,9 @@
5 get_real_name()
6 {
7 char *username = getenv("USER");
8+#ifdef __ANDROID__
9+ return xstrdup(username);
10+#else
11 struct passwd *pwent;
12 int rtn;
13 char *tmp;
14@@ -161,6 +164,7 @@
15 return xstrdup(username);
16 } else
17 return tmp;
18+#endif
19 }
20
21 /*