summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--download.lst2
-rw-r--r--external/hunspell/UnpackedTarball_hunspell.mk1
-rw-r--r--external/hunspell/hunspell-windows.patch21
3 files changed, 23 insertions, 1 deletions
diff --git a/download.lst b/download.lst
index 3962eb1922d8..c2a590e9041d 100644
--- a/download.lst
+++ b/download.lst
@@ -61,7 +61,7 @@ export GRAPHITE_TARBALL := 4311dd9ace498b57c85f611e0670df64-graphite2-minimal-1.
export HARFBUZZ_MD5SUM := 9f4b6831c86135faef011e991f59f77f
export HARFBUZZ_TARBALL := harfbuzz-1.2.6.tar.bz2
export HSQLDB_TARBALL := 17410483b5b5f267aa18b7e00b65e6e0-hsqldb_1_8_0.zip
-export HUNSPELL_TARBALL := f95a5452e064fac41c85a70bba1728c5-hunspell-1.4.0.tar.gz
+export HUNSPELL_TARBALL := 33d370f7fe5a030985e445a5672b2067-hunspell-1.4.1.tar.gz
export HYPHEN_TARBALL := 5ade6ae2a99bc1e9e57031ca88d36dad-hyphen-2.8.8.tar.gz
export ICU_TARBALL := 976734806026a4ef8bdd17937c8898b9-icu4c-57_1-src.tgz
export JFREEREPORT_FLOW_ENGINE_TARBALL := ba2930200c9f019c2d93a8c88c651a0f-flow-engine-0.9.4.zip
diff --git a/external/hunspell/UnpackedTarball_hunspell.mk b/external/hunspell/UnpackedTarball_hunspell.mk
index 943e78830133..e70e33f37911 100644
--- a/external/hunspell/UnpackedTarball_hunspell.mk
+++ b/external/hunspell/UnpackedTarball_hunspell.mk
@@ -13,6 +13,7 @@ $(eval $(call gb_UnpackedTarball_set_tarball,hunspell,$(HUNSPELL_TARBALL)))
$(eval $(call gb_UnpackedTarball_add_patches,hunspell,\
external/hunspell/hunspell-solaris.patch \
+ external/hunspell/hunspell-windows.patch \
))
ifeq ($(COM),MSC)
diff --git a/external/hunspell/hunspell-windows.patch b/external/hunspell/hunspell-windows.patch
new file mode 100644
index 000000000000..357272d17c00
--- /dev/null
+++ b/external/hunspell/hunspell-windows.patch
@@ -0,0 +1,21 @@
+--- /dev/null 2016-03-15 09:11:25.292954614 +0000
++++ misc/hunspell-1.3.4/src/hunspell/hunvisapi.h 2016-04-06 16:40:47.181698825 +0100
+@@ -0,0 +1,18 @@
++#ifndef _HUNSPELL_VISIBILITY_H_
++#define _HUNSPELL_VISIBILITY_H_
++
++#if defined(HUNSPELL_STATIC)
++# define LIBHUNSPELL_DLL_EXPORTED
++#elif defined(_MSC_VER)
++# if defined(BUILDING_LIBHUNSPELL)
++# define LIBHUNSPELL_DLL_EXPORTED __declspec(dllexport)
++# else
++# define LIBHUNSPELL_DLL_EXPORTED __declspec(dllimport)
++# endif
++#elif defined(BUILDING_LIBHUNSPELL) && 1
++# define LIBHUNSPELL_DLL_EXPORTED __attribute__((__visibility__("default")))
++#else
++# define LIBHUNSPELL_DLL_EXPORTED
++#endif
++
++#endif