opkg: fix the -force_space option
authorFelix Fietkau <nbd@openwrt.org>
Sat, 19 Sep 2009 17:32:59 +0000 (17:32 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 19 Sep 2009 17:32:59 +0000 (17:32 +0000)
SVN-Revision: 17611

package/opkg/patches/006-fix_force_space.patch [new file with mode: 0644]

diff --git a/package/opkg/patches/006-fix_force_space.patch b/package/opkg/patches/006-fix_force_space.patch
new file mode 100644 (file)
index 0000000..80406ba
--- /dev/null
@@ -0,0 +1,12 @@
+--- a/libopkg/opkg_conf.c
++++ b/libopkg/opkg_conf.c
+@@ -252,6 +252,9 @@ int opkg_conf_init(opkg_conf_t *conf, co
+      if (args->force_downgrade) {
+         conf->force_downgrade = 1;
+      }
++     if (args->force_space) {
++        conf->force_space = 1;
++     }
+      if (args->force_reinstall) {
+         conf->force_reinstall = 1;
+      }