summaryrefslogtreecommitdiff
path: root/package/opkg/patches
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-04-18 23:23:40 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-04-18 23:23:40 +0000
commitd429130518489e8186c5ea2ee8cd655d7f1aa2eb (patch)
treed99db6f1ae5aa114180717d9e9e5761880221c7a /package/opkg/patches
parentfa432efa8e500303bd9ed4f07fae63f2ab238c12 (diff)
downloadmtk-20170518-d429130518489e8186c5ea2ee8cd655d7f1aa2eb.zip
mtk-20170518-d429130518489e8186c5ea2ee8cd655d7f1aa2eb.tar.gz
mtk-20170518-d429130518489e8186c5ea2ee8cd655d7f1aa2eb.tar.bz2
opkg: update to r528, refresh patches
SVN-Revision: 21008
Diffstat (limited to 'package/opkg/patches')
-rw-r--r--package/opkg/patches/000-upstream-fix_configure_order.patch15
-rw-r--r--package/opkg/patches/003-fs_overlay_support.patch2
-rw-r--r--package/opkg/patches/009-remove-upgrade-all.patch6
-rw-r--r--package/opkg/patches/010-remove-flag.patch4
4 files changed, 6 insertions, 21 deletions
diff --git a/package/opkg/patches/000-upstream-fix_configure_order.patch b/package/opkg/patches/000-upstream-fix_configure_order.patch
deleted file mode 100644
index dcd1b54..0000000
--- a/package/opkg/patches/000-upstream-fix_configure_order.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-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;
diff --git a/package/opkg/patches/003-fs_overlay_support.patch b/package/opkg/patches/003-fs_overlay_support.patch
index 4fed4d1..49dd1ff 100644
--- a/package/opkg/patches/003-fs_overlay_support.patch
+++ b/package/opkg/patches/003-fs_overlay_support.patch
@@ -18,7 +18,7 @@ Signed-off-by: Nicolas Thill <nico@openwrt.org>
+++ b/libopkg/opkg_conf.h
@@ -76,6 +76,7 @@ struct opkg_conf
int check_signature;
- int nodeps; /* do not follow dependences */
+ int nodeps; /* do not follow dependencies */
char *offline_root;
+ char *overlay_root;
int query_all;
diff --git a/package/opkg/patches/009-remove-upgrade-all.patch b/package/opkg/patches/009-remove-upgrade-all.patch
index be76ef5..6dfa3db 100644
--- a/package/opkg/patches/009-remove-upgrade-all.patch
+++ b/package/opkg/patches/009-remove-upgrade-all.patch
@@ -1,6 +1,6 @@
--- a/libopkg/opkg_cmd.c
+++ b/libopkg/opkg_cmd.c
-@@ -498,17 +498,6 @@ opkg_upgrade_cmd(int argc, char **argv)
+@@ -500,17 +500,6 @@ opkg_upgrade_cmd(int argc, char **argv)
opkg_install_by_name(arg);
}
}
@@ -17,8 +17,8 @@
- pkg_vec_free(installed);
}
- opkg_configure_packages(NULL);
-@@ -1166,7 +1155,7 @@ opkg_print_architecture_cmd(int argc, ch
+ r = opkg_configure_packages(NULL);
+@@ -1173,7 +1162,7 @@ opkg_print_architecture_cmd(int argc, ch
array for easier maintenance */
static opkg_cmd_t cmds[] = {
{"update", 0, (opkg_cmd_fun_t)opkg_update_cmd, PFM_DESCRIPTION|PFM_SOURCE},
diff --git a/package/opkg/patches/010-remove-flag.patch b/package/opkg/patches/010-remove-flag.patch
index c242bea..6659c29 100644
--- a/package/opkg/patches/010-remove-flag.patch
+++ b/package/opkg/patches/010-remove-flag.patch
@@ -1,6 +1,6 @@
--- a/libopkg/opkg_cmd.c
+++ b/libopkg/opkg_cmd.c
-@@ -738,49 +738,6 @@ opkg_remove_cmd(int argc, char **argv)
+@@ -745,49 +745,6 @@ opkg_remove_cmd(int argc, char **argv)
}
static int
@@ -50,7 +50,7 @@
opkg_files_cmd(int argc, char **argv)
{
pkg_t *pkg;
-@@ -1162,7 +1119,6 @@ static opkg_cmd_t cmds[] = {
+@@ -1169,7 +1126,6 @@ static opkg_cmd_t cmds[] = {
{"list_upgradable", 0, (opkg_cmd_fun_t)opkg_list_upgradable_cmd, PFM_SOURCE},
{"list-upgradable", 0, (opkg_cmd_fun_t)opkg_list_upgradable_cmd, PFM_SOURCE},
{"info", 0, (opkg_cmd_fun_t)opkg_info_cmd, 0},