aboutsummaryrefslogtreecommitdiffstats
path: root/package/opkg/patches/011-old-config-location.patch
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-12-20 21:21:14 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-12-20 21:21:14 +0000
commit49a0eaa0abf58c0111b74f85d3ef8487f283653e (patch)
tree38b0777ec5e6e9df2ffe5d91fff98703b5f850a7 /package/opkg/patches/011-old-config-location.patch
parentcf91acfa3dcc3b53ab077e50746e7f8819aaaa48 (diff)
downloadupstream-49a0eaa0abf58c0111b74f85d3ef8487f283653e.tar.gz
upstream-49a0eaa0abf58c0111b74f85d3ef8487f283653e.tar.bz2
upstream-49a0eaa0abf58c0111b74f85d3ef8487f283653e.zip
[package] opkg: update to r503 - reduces peak memory usage by further 20%, rebased patches, restored old config file default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18864 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/opkg/patches/011-old-config-location.patch')
-rw-r--r--package/opkg/patches/011-old-config-location.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/package/opkg/patches/011-old-config-location.patch b/package/opkg/patches/011-old-config-location.patch
new file mode 100644
index 0000000000..40d0b75665
--- /dev/null
+++ b/package/opkg/patches/011-old-config-location.patch
@@ -0,0 +1,14 @@
+--- a/src/opkg-cl.c
++++ b/src/opkg-cl.c
+@@ -169,7 +169,10 @@
+ printf("Confusion: getopt_long returned %d\n", c);
+ }
+ }
+-
++
++ if(!conf->conf_file)
++ conf->conf_file = "/etc/opkg.conf";
++
+ if (parse_err)
+ return parse_err;
+ else