Blame enchant-mingw-compile-fix.patch

5bb878d
--- src/myspell/myspell_checker.cpp.orig	2009-05-23 11:44:14.000000000 +0200
5bb878d
+++ src/myspell/myspell_checker.cpp	2009-08-08 11:53:11.648688871 +0200
5bb878d
@@ -38,6 +38,12 @@
5bb878d
 #include "enchant.h"
5bb878d
 #include "enchant-provider.h"
5bb878d
 
5bb878d
+#ifdef WIN32
5bb878d
+/* The above #include caused a macro to be defined which
5bb878d
+ * causes a compile error later on. Work around this */
5bb878d
+#undef near
5bb878d
+#endif
5bb878d
+
5bb878d
 /* built against hunspell 1.2.2 on 2008-04-12 */
5bb878d
 
5bb878d
 #ifdef HUNSPELL_STATIC