diff options
author | jow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-08-12 13:19:34 +0000 |
---|---|---|
committer | jow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-08-12 13:19:34 +0000 |
commit | dbad7c2943cb9a206740e1e047cc7381a650c9dc (patch) | |
tree | 1df9aadab301e983e6315e16e457b1bb1c5b47be | |
parent | 88ed80d97d98de34d915201d5672d966129943c2 (diff) |
[package] opkg: crlf -> lf in 001-fix-double-parsing.patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17235 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | package/opkg/patches/001-fix-double-parsing.patch | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/package/opkg/patches/001-fix-double-parsing.patch b/package/opkg/patches/001-fix-double-parsing.patch index eb96a58cfe..a36ffa48ca 100644 --- a/package/opkg/patches/001-fix-double-parsing.patch +++ b/package/opkg/patches/001-fix-double-parsing.patch @@ -1,12 +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;
-
+--- 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; + |