summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2010-04-03 21:38:17 +0000
committerNicolas Thill <nico@openwrt.org>2010-04-03 21:38:17 +0000
commitfc72a828f59b59308dfc6e6fb4c3482e53aadf7f (patch)
tree8ef07f513fc1bbddfd3baf0a444a3184316994ea
parent34a5f7bcbeea2d637c77b291ff4ccc470a79aa3a (diff)
downloadmtk-20170518-fc72a828f59b59308dfc6e6fb4c3482e53aadf7f.zip
mtk-20170518-fc72a828f59b59308dfc6e6fb4c3482e53aadf7f.tar.gz
mtk-20170518-fc72a828f59b59308dfc6e6fb4c3482e53aadf7f.tar.bz2
opkg: add upstream patch fixing the order packages are configured (closes: #7057, #7058), bump release number
SVN-Revision: 20686
-rw-r--r--package/opkg/Makefile2
-rw-r--r--package/opkg/patches/000-upstream-fix_configure_order.patch15
2 files changed, 16 insertions, 1 deletions
diff --git a/package/opkg/Makefile b/package/opkg/Makefile
index 6894ae7..81f7b4a 100644
--- a/package/opkg/Makefile
+++ b/package/opkg/Makefile
@@ -10,7 +10,7 @@ include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=opkg
PKG_REV:=513
PKG_VERSION:=$(PKG_REV)
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_SOURCE_PROTO:=svn
PKG_SOURCE_VERSION:=$(PKG_REV)
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;