opkg: avoid using getline() to fix a compile issue on darwin (patch by Javier Palacio...
[openwrt.git] / package / opkg / patches / 011-old-config-location.patch
1 --- a/src/opkg-cl.c
2 +++ b/src/opkg-cl.c
3 @@ -207,6 +207,9 @@ args_parse(int argc, char *argv[])
4 }
5 }
6
7 + if(!conf->conf_file && !conf->offline_root)
8 + conf->conf_file = xstrdup("/etc/opkg.conf");
9 +
10 if (parse_err)
11 return parse_err;
12 else
This page took 0.049202 seconds and 5 git commands to generate.