summaryrefslogtreecommitdiff
path: root/package/opkg/patches/000-upstream-fix_configure_order.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/opkg/patches/000-upstream-fix_configure_order.patch')
-rw-r--r--package/opkg/patches/000-upstream-fix_configure_order.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/package/opkg/patches/000-upstream-fix_configure_order.patch b/package/opkg/patches/000-upstream-fix_configure_order.patch
new file mode 100644
index 0000000..dcd1b54
--- /dev/null
+++ b/package/opkg/patches/000-upstream-fix_configure_order.patch
@@ -0,0 +1,15 @@
+http://code.google.com/p/opkg/source/detail?r=521
+
+--- a/libopkg/opkg_cmd.c
++++ b/libopkg/opkg_cmd.c
+@@ -390,8 +390,8 @@ opkg_configure_packages(char *pkg_name)
+ goto error;
+ }
+
+- for(i = 0; i < all->len; i++) {
+- pkg = all->pkgs[i];
++ for(i = 0; i < ordered->len; i++) {
++ pkg = ordered->pkgs[i];
+
+ if (pkg_name && fnmatch(pkg_name, pkg->name, 0))
+ continue;