From: | "Michal Gorny (mgorny)" <mgorny@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in mail-client/claws-mail/files: claws-mail-3.11.1_RSSyl-encodings-fix.patch |
Date: | Sun, 01 Mar 2015 19:05:05 |
Message-Id: | 20150301190459.C915612D30@oystercatcher.gentoo.org |
1 | mgorny 15/03/01 19:04:59 |
2 | |
3 | Added: claws-mail-3.11.1_RSSyl-encodings-fix.patch |
4 | Log: |
5 | Backport a RSS parsing fix, https://github.com/gentoo/gentoo-portage-rsync-mirror/pull/47 by cerebrum. |
6 | |
7 | (Portage version: 2.2.17/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!) |
8 | |
9 | Revision Changes Path |
10 | 1.1 mail-client/claws-mail/files/claws-mail-3.11.1_RSSyl-encodings-fix.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/claws-mail/files/claws-mail-3.11.1_RSSyl-encodings-fix.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/claws-mail/files/claws-mail-3.11.1_RSSyl-encodings-fix.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: claws-mail-3.11.1_RSSyl-encodings-fix.patch |
16 | =================================================================== |
17 | From: Andrej Kacian <ticho@××××××××××.org> |
18 | Date: Thu, 1 Jan 2015 22:36:36 +0000 (+0100) |
19 | Subject: RSSyl: Fix handling of feeds with encodings unknown to expat. Turns out the only... |
20 | X-Git-Url: http://git.claws-mail.org/?p=claws.git;a=commitdiff_plain;h=d05156031070efe6104695acad93aa879bc0f084 |
21 | |
22 | RSSyl: Fix handling of feeds with encodings unknown to expat. Turns out the only thing missing was that HAVE_ICONV macro (from config.h) was not defined in parser.c, so our "unknown encoding" expat handler function did nothing. Fixes bug #3339. |
23 | --- |
24 | |
25 | diff --git a/src/plugins/rssyl/libfeed/parser.c b/src/plugins/rssyl/libfeed/parser.c |
26 | index bb0bb0d..14f4a36 100644 |
27 | --- a/src/plugins/rssyl/libfeed/parser.c |
28 | +++ b/src/plugins/rssyl/libfeed/parser.c |
29 | @@ -17,6 +17,10 @@ |
30 | * Boston, MA 02111-1307, USA. |
31 | */ |
32 | |
33 | +#ifdef HAVE_CONFIG_H |
34 | +# include <config.h> |
35 | +#endif |
36 | + |
37 | #include <glib.h> |
38 | #include <curl/curl.h> |
39 | #include <expat.h> |