summaryrefslogtreecommitdiff
path: root/external/hunspell
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-05-03 09:04:33 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-05-03 09:06:23 +0100
commit79acc3da353ad05382db7b59d3be8e40983da4b7 (patch)
tree21bb56530590f7e98752ea786f81f29306688c5f /external/hunspell
parent388ffd22b1a1cba175521153b3427672c74e31e6 (diff)
bump to hunspell 1.4.1
Change-Id: I20d9abfd73586daf1ed99f0e1a2481840e61f90e
Diffstat (limited to 'external/hunspell')
-rw-r--r--external/hunspell/UnpackedTarball_hunspell.mk1
-rw-r--r--external/hunspell/hunspell-windows.patch21
2 files changed, 22 insertions, 0 deletions
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