[package] opkg: crlf -> lf in 001-fix-double-parsing.patch
authorJo-Philipp Wich <jow@openwrt.org>
Wed, 12 Aug 2009 13:19:34 +0000 (13:19 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Wed, 12 Aug 2009 13:19:34 +0000 (13:19 +0000)
SVN-Revision: 17235

package/opkg/patches/001-fix-double-parsing.patch

index eb96a58..a36ffa4 100644 (file)
@@ -1,12 +1,12 @@
---- a/libopkg/args.c\r
-+++ b/libopkg/args.c\r
-@@ -62,7 +62,7 @@\r
-      if (conf_file_dir == NULL || conf_file_dir[0] == '\0') {\r
-         conf_file_dir = ARGS_DEFAULT_CONF_FILE_DIR;\r
-      }\r
--     sprintf_alloc(&args->conf_file, "%s/%s", conf_file_dir,\r
-+     sprintf_alloc(&args->conf_file, "%s/%s", OPKGETCDIR,\r
-                  ARGS_DEFAULT_CONF_FILE_NAME);\r
\r
-      args->force_defaults = ARGS_DEFAULT_FORCE_DEFAULTS;\r
-\r
+--- 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;
+