aboutsummaryrefslogtreecommitdiffstats
path: root/package/opkg/patches
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-08-10 22:38:37 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-08-10 22:38:37 +0000
commit6ccd4143eb2e40fea13b7064ee9e9c645b0c4572 (patch)
tree06f003ee20263c352b3214a0939ba4fc330175fe /package/opkg/patches
parentece3bdcdd6c1ceed6a841d3e2ff5600209b1f600 (diff)
downloadupstream-6ccd4143eb2e40fea13b7064ee9e9c645b0c4572.tar.gz
upstream-6ccd4143eb2e40fea13b7064ee9e9c645b0c4572.tar.bz2
upstream-6ccd4143eb2e40fea13b7064ee9e9c645b0c4572.zip
opkg: fix duplicate parsing of config file, move opkg.conf back to /etc, bump package revision, thanks kupseoft
SVN-Revision: 17209
Diffstat (limited to 'package/opkg/patches')
-rw-r--r--package/opkg/patches/001-fix-double-parsing.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/opkg/patches/001-fix-double-parsing.patch b/package/opkg/patches/001-fix-double-parsing.patch
new file mode 100644
index 0000000000..a36ffa48ca
--- /dev/null
+++ b/package/opkg/patches/001-fix-double-parsing.patch
@@ -0,0 +1,12 @@
+--- a/libopkg/args.c
++++ b/libopkg/args.c
+@@ -62,7 +62,7 @@
+ if (conf_file_dir == NULL || conf_file_dir[0] == '\0') {
+ conf_file_dir = ARGS_DEFAULT_CONF_FILE_DIR;
+ }
+- sprintf_alloc(&args->conf_file, "%s/%s", conf_file_dir,
++ sprintf_alloc(&args->conf_file, "%s/%s", OPKGETCDIR,
+ ARGS_DEFAULT_CONF_FILE_NAME);
+
+ args->force_defaults = ARGS_DEFAULT_FORCE_DEFAULTS;
+