diff options
author | maho <maho@FreeBSD.org> | 2003-08-02 10:36:11 +0800 |
---|---|---|
committer | maho <maho@FreeBSD.org> | 2003-08-02 10:36:11 +0800 |
commit | 027492720c6be5f7f2cd0d2e07c709018568c36b (patch) | |
tree | d26a46cfd24b3032490bb08bae5b5331081e984e /www/mod_index_rss | |
parent | b43f1624c4d64abcbd89eff602694074576d22db (diff) | |
download | freebsd-ports-gnome-027492720c6be5f7f2cd0d2e07c709018568c36b.tar.gz freebsd-ports-gnome-027492720c6be5f7f2cd0d2e07c709018568c36b.tar.zst freebsd-ports-gnome-027492720c6be5f7f2cd0d2e07c709018568c36b.zip |
Fix build on gcc-3.3.x
Submitted by: Simon Barner <barner@in.tum.de>
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\ + " + + |