dcd1b547c288d2d323d02eb2a8bc4e271b8cfb66
[openwrt/svn-archive/archive.git] / package / opkg / patches / 000-upstream-fix_configure_order.patch
1 http://code.google.com/p/opkg/source/detail?r=521
2
3 --- a/libopkg/opkg_cmd.c
4 +++ b/libopkg/opkg_cmd.c
5 @@ -390,8 +390,8 @@ opkg_configure_packages(char *pkg_name)
6 goto error;
7 }
8
9 - for(i = 0; i < all->len; i++) {
10 - pkg = all->pkgs[i];
11 + for(i = 0; i < ordered->len; i++) {
12 + pkg = ordered->pkgs[i];
13
14 if (pkg_name && fnmatch(pkg_name, pkg->name, 0))
15 continue;