summarylogtreecommitdiffstats
path: root/0002-printf.mingw.patch
diff options
context:
space:
mode:
Diffstat (limited to '0002-printf.mingw.patch')
-rw-r--r--0002-printf.mingw.patch36
1 files changed, 36 insertions, 0 deletions
diff --git a/0002-printf.mingw.patch b/0002-printf.mingw.patch
new file mode 100644
index 000000000000..3b808a298357
--- /dev/null
+++ b/0002-printf.mingw.patch
@@ -0,0 +1,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;