summarylogtreecommitdiffstats
path: root/0002-printf.mingw.patch
blob: 3b808a29835743b5d2cb50ae0318ee1ef53c3463 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
--- aspell-0.60.7-20110707/common/config.cpp.orig	2014-02-19 11:24:42.255300600 +0000
+++ aspell-0.60.7-20110707/common/config.cpp	2014-02-19 11:23:47.492846700 +0000
@@ -39,6 +39,9 @@
 #include "vararray.hpp"
 #include "string_list.hpp"
 
+#define printf printf
+#include "libintl.h"
+#undef printf
 #include "gettext.h"
 
 #include "iostream.hpp"
--- aspell-0.60.7-20110707/modules/speller/default/language.cpp.orig	2011-07-05 00:28:44.000000000 +0000
+++ aspell-0.60.7-20110707/modules/speller/default/language.cpp	2014-02-19 11:25:32.094629400 +0000
@@ -24,6 +24,9 @@
 #  include <langinfo.h>
 #endif
 
+#define printf printf
+#include "libintl.h"
+#undef printf
 #include "gettext.h"
 
 namespace aspeller {
--- aspell-0.60.7-20110707/prog/aspell.cpp.orig	2011-07-04 14:36:05.000000000 +0000
+++ aspell-0.60.7-20110707/prog/aspell.cpp	2014-02-19 11:26:37.049377600 +0000
@@ -59,6 +59,9 @@
 #include "hash-t.hpp"
 #include "hash_fun.hpp"
 
+#define printf printf
+#include "libintl.h"
+#undef printf
 #include "gettext.h"
 
 using namespace acommon;