diff options
author | Holger Freyther <zecke@selfish.org> | 2007-04-01 18:41:38 +0000 |
---|---|---|
committer | Holger Freyther <zecke@selfish.org> | 2007-04-01 18:41:38 +0000 |
commit | 470744264bf335b0acdc5e9db2b35f1bda73b72d (patch) | |
tree | 905ee01659cbf3f98bf4fb5eb8417d2215594710 /packages/libmrss/files | |
parent | bf9e41fe9f2719ab6c274c3e7a3044761ea5f85a (diff) |
packages/libmrss: Remove the printf from the patch
Diffstat (limited to 'packages/libmrss/files')
-rw-r--r-- | packages/libmrss/files/fix_atom_date_locale.patch | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/packages/libmrss/files/fix_atom_date_locale.patch b/packages/libmrss/files/fix_atom_date_locale.patch index 4d46033d10..111a4859cd 100644 --- a/packages/libmrss/files/fix_atom_date_locale.patch +++ b/packages/libmrss/files/fix_atom_date_locale.patch @@ -6,8 +6,8 @@ to create a right RFC822 date. Index: libmrss-0.17/src/mrss.h =================================================================== ---- libmrss-0.17.orig/src/mrss.h 2007-04-01 00:29:06.000000000 +0200 -+++ libmrss-0.17/src/mrss.h 2007-04-01 01:22:25.000000000 +0200 +--- libmrss-0.17.orig/src/mrss.h 2007-02-02 12:23:49.000000000 +0100 ++++ libmrss-0.17/src/mrss.h 2007-04-01 19:46:41.000000000 +0200 @@ -364,6 +364,9 @@ mrss_element_t element; int allocated; @@ -20,8 +20,8 @@ Index: libmrss-0.17/src/mrss.h char *file; Index: libmrss-0.17/src/mrss_free.c =================================================================== ---- libmrss-0.17.orig/src/mrss_free.c 2007-04-01 00:32:56.000000000 +0200 -+++ libmrss-0.17/src/mrss_free.c 2007-04-01 15:45:44.000000000 +0200 +--- libmrss-0.17.orig/src/mrss_free.c 2007-02-02 12:47:46.000000000 +0100 ++++ libmrss-0.17/src/mrss_free.c 2007-04-01 19:46:41.000000000 +0200 @@ -22,9 +22,14 @@ # error Use configure; make; make install #endif @@ -49,8 +49,8 @@ Index: libmrss-0.17/src/mrss_free.c } Index: libmrss-0.17/src/mrss_parser.c =================================================================== ---- libmrss-0.17.orig/src/mrss_parser.c 2007-03-30 01:07:56.000000000 +0200 -+++ libmrss-0.17/src/mrss_parser.c 2007-04-01 16:40:57.000000000 +0200 +--- libmrss-0.17.orig/src/mrss_parser.c 2007-04-01 19:46:41.000000000 +0200 ++++ libmrss-0.17/src/mrss_parser.c 2007-04-01 20:38:06.000000000 +0200 @@ -22,9 +22,13 @@ # error Use configure; make; make install #endif @@ -74,7 +74,7 @@ Index: libmrss-0.17/src/mrss_parser.c { char *ret = NULL; if (datestr) -@@ -150,8 +154,14 @@ +@@ -150,8 +154,13 @@ stm.tm_year -= 1900; char datebuf[256]; free (datestr); @@ -82,7 +82,6 @@ Index: libmrss-0.17/src/mrss_parser.c - &stm); + + if (!data->c_locale) { -+ printf( "Creating the locale\n" ); + data->c_locale = newlocale(LC_ALL_MASK,"C",NULL); + } + @@ -91,7 +90,7 @@ Index: libmrss-0.17/src/mrss_parser.c ret = strdup (datebuf); } } -@@ -269,16 +279,16 @@ +@@ -269,16 +278,16 @@ else if (!strcmp (cur->value, "published") && !item->pubDate && data->version == MRSS_VERSION_ATOM_1_0) item->pubDate = @@ -111,7 +110,7 @@ Index: libmrss-0.17/src/mrss_parser.c /* id -> guid */ else if (!strcmp (cur->value, "id") && !item->guid -@@ -701,7 +711,7 @@ +@@ -701,7 +710,7 @@ /* updated -> lastBuildDate */ else if (!strcmp (cur->value, "updated")) data->lastBuildDate = |