From af934b189ee92cb39a2559c9666b9538b3ba443b Mon Sep 17 00:00:00 2001 From: jow Date: Mon, 10 Aug 2009 22:38:37 +0000 Subject: [package] opkg: fix duplicate parsing of config file, move opkg.conf back to /etc, bump package revision, thanks kupseoft git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17209 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/opkg/patches/001-fix-double-parsing.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 package/opkg/patches/001-fix-double-parsing.patch (limited to 'package/opkg/patches/001-fix-double-parsing.patch') 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..eb96a58cfe --- /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; + -- cgit v1.2.3