diff options
author | Maho Nakata <maho@FreeBSD.org> | 2003-08-02 02:36:11 +0000 |
---|---|---|
committer | Maho Nakata <maho@FreeBSD.org> | 2003-08-02 02:36:11 +0000 |
commit | c2d82a9ad673ccef3c783db5a09b71a1f88036e0 (patch) | |
tree | 81e11a9f97e19fded46d8a8934c871e69bec40af /www/mod_index_rss | |
parent | Update to 2.0.36. (diff) |
Fix build on gcc-3.3.x
Submitted by: Simon Barner <barner@in.tum.de>
Notes
Notes:
svn path=/head/; revision=86172
Diffstat (limited to 'www/mod_index_rss')
-rw-r--r-- | www/mod_index_rss/files/patch-mod_index_rss.c | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/www/mod_index_rss/files/patch-mod_index_rss.c b/www/mod_index_rss/files/patch-mod_index_rss.c new file mode 100644 index 000000000000..be8be4ae653f --- /dev/null +++ b/www/mod_index_rss/files/patch-mod_index_rss.c @@ -0,0 +1,31 @@ +--- mod_index_rss.c.orig Tue Jul 22 04:37:54 2003 ++++ mod_index_rss.c Tue Jul 22 04:39:22 2003 +@@ -11,18 +11,18 @@ + + #define TIME_FORMAT "%a %b %d %H:%M:%S %Y" + /* This is the XML header file */ +-#define HEADER "<?xml version=\"1.0\" encoding=\"UTF-8\"?> +- +-<!DOCTYPE rss PUBLIC \"-//Netscape Communications//DTD RSS 0.91//EN\" +- \"http://www.scripting.com/dtd/rss-0_91.dtd\"> +- +-<rss version=\"0.91\"> +- +-<channel> ++#define HEADER "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\ ++\n\ ++<!DOCTYPE rss PUBLIC \"-//Netscape Communications//DTD RSS 0.91//EN\"\n\ ++ \"http://www.scripting.com/dtd/rss-0_91.dtd\">\n\ ++\n\ ++<rss version=\"0.91\">\n\ ++\n\ ++<channel>\n\ + " + +-#define FOOTER "</channel> +-</rss> ++#define FOOTER "</channel>\n\ ++</rss>\n\ + " + + |