From: | "Samuli Suominen (ssuominen)" <ssuominen@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in app-dicts/stardict/files: stardict-3.0.1-gcc44.patch |
Date: | Fri, 24 Jul 2009 17:28:32 |
Message-Id: | E1MUOZK-0000Xp-OS@stork.gentoo.org |
1 | ssuominen 09/07/24 17:28:30 |
2 | |
3 | Added: stardict-3.0.1-gcc44.patch |
4 | Log: |
5 | Fix building with GCC 4.4 wrt #269258, thanks to Martin Väth. |
6 | (Portage version: 2.2_rc33/cvs/Linux x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.1 app-dicts/stardict/files/stardict-3.0.1-gcc44.patch |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-dicts/stardict/files/stardict-3.0.1-gcc44.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-dicts/stardict/files/stardict-3.0.1-gcc44.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: stardict-3.0.1-gcc44.patch |
15 | =================================================================== |
16 | --- src/lib/data.cpp |
17 | +++ src/lib/data.cpp |
18 | @@ -22,6 +22,8 @@ |
19 | # include "config.h" |
20 | #endif |
21 | |
22 | +#include <cstdio> |
23 | + |
24 | #include "kmp.h" |
25 | |
26 | #include "data.hpp" |
27 | --- src/lib/stardict_client.cpp |
28 | +++ src/lib/stardict_client.cpp |
29 | @@ -22,6 +22,8 @@ |
30 | # include "config.h" |
31 | #endif |
32 | |
33 | +#include <cstdio> |
34 | + |
35 | #include <glib.h> |
36 | #include <glib/gi18n.h> |