From: Nicolas Thill Date: Sat, 3 Apr 2010 21:49:14 +0000 (+0000) Subject: opkg: backport r20686 X-Git-Tag: backfire_10.03~14 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=b7514b144aeec506944521b42fb5d94fcd0df027;p=openwrt%2Fsvn-archive%2Fopenwrt.git opkg: backport r20686 SVN-Revision: 20687 --- diff --git a/package/opkg/Makefile b/package/opkg/Makefile index 6894ae7cb4..81f7b4a4a0 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 0000000000..dcd1b547c2 --- /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;