php: Update to 5.6.17 and enable socket extension
[termux-packages] / packages / mc / lib-widget-input_complete.c.patch
1 diff -u -r ../mc-4.8.15/lib/widget/input_complete.c ./lib/widget/input_complete.c
2 --- ../mc-4.8.15/lib/widget/input_complete.c 2015-11-06 04:11:08.000000000 -0500
3 +++ ./lib/widget/input_complete.c 2015-11-20 17:59:04.834778588 -0500
4 @@ -306,6 +306,7 @@
5 static char *
6 username_completion_function (const char *text, int state, input_complete_t flags)
7 {
8 +#ifndef __ANDROID__
9 static struct passwd *entry;
10 static size_t userlen;
11
12 @@ -332,6 +333,7 @@
13 return g_strconcat ("~", entry->pw_name, PATH_SEP_STR, (char *) NULL);
14
15 endpwent ();
16 +#endif
17 return NULL;
18 }
19