[Libreoffice-commits] core.git: download.lst external/hunspell

Caolán McNamara caolanm at redhat.com
Tue May 3 08:06:46 UTC 2016


 download.lst                                  |    2 +-
 external/hunspell/UnpackedTarball_hunspell.mk |    1 +
 external/hunspell/hunspell-windows.patch      |   21 +++++++++++++++++++++
 3 files changed, 23 insertions(+), 1 deletion(-)

New commits:
commit 79acc3da353ad05382db7b59d3be8e40983da4b7
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue May 3 09:04:33 2016 +0100

    bump to hunspell 1.4.1
    
    Change-Id: I20d9abfd73586daf1ed99f0e1a2481840e61f90e

diff --git a/download.lst b/download.lst
index 3962eb1..c2a590e 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 943e788..e70e33f 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 0000000..357272d
--- /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


More information about the Libreoffice-commits mailing list