summaryrefslogtreecommitdiffstats
path: root/package/opkg/patches/006-fix_force_space.patch
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-09-19 17:32:59 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-09-19 17:32:59 +0000
commit9af7cd4561a810776b0db7f5cb74516671046427 (patch)
treec53800c68190415305e9c6cfb958bd3fb983ed74 /package/opkg/patches/006-fix_force_space.patch
parent2378fae6836d0b5630c1fef29a8d72bc308654ba (diff)
opkg: fix the -force_space option
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17611 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/opkg/patches/006-fix_force_space.patch')
-rw-r--r--package/opkg/patches/006-fix_force_space.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/opkg/patches/006-fix_force_space.patch b/package/opkg/patches/006-fix_force_space.patch
new file mode 100644
index 000000000..80406ba16
--- /dev/null
+++ b/package/opkg/patches/006-fix_force_space.patch
@@ -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;
+ }