diff options
author | obo <obo@openoffice.org> | 2010-06-22 16:02:44 +0200 |
---|---|---|
committer | obo <obo@openoffice.org> | 2010-06-22 16:02:44 +0200 |
commit | d66343ab594fac375f4e3fc939594e9ebe5d4963 (patch) | |
tree | b42e0b1f4044eb596050209047dfe935706a61fa /hunspell | |
parent | CWS-TOOLING: integrate CWS mythes12 (diff) | |
parent | i#112159: MinGW port: more fix for libxml2 2.7.6 to avoid using pthreads (diff) | |
download | core-d66343ab594fac375f4e3fc939594e9ebe5d4963.tar.gz core-d66343ab594fac375f4e3fc939594e9ebe5d4963.zip |
CWS-TOOLING: integrate CWS mingwport30
Diffstat (limited to 'hunspell')
-rw-r--r-- | hunspell/hunspell-mingw.patch | 12 | ||||
-rw-r--r-- | hunspell/makefile.mk | 5 |
2 files changed, 16 insertions, 1 deletions
diff --git a/hunspell/hunspell-mingw.patch b/hunspell/hunspell-mingw.patch new file mode 100644 index 000000000000..0120e01ddba1 --- /dev/null +++ b/hunspell/hunspell-mingw.patch @@ -0,0 +1,12 @@ +--- misc/hunspell-1.2.9/src/tools/hunspell.cxx 2010-02-27 23:37:14.000000000 +0900 ++++ misc/build/hunspell-1.2.9/src/tools/hunspell.cxx 2010-04-25 07:57:39.233875000 +0900 +@@ -27,7 +27,9 @@ + + #ifdef WIN32 + ++#ifndef __MINGW32__ + #define gettext ++#endif + #define LIBDIR "C:\\Hunspell\\" + #define USEROOODIR "Application Data\\OpenOffice.org 2\\user\\wordbook" + #define OOODIR \ diff --git a/hunspell/makefile.mk b/hunspell/makefile.mk index f58204a33bc5..253607ab0c0f 100644 --- a/hunspell/makefile.mk +++ b/hunspell/makefile.mk @@ -71,8 +71,11 @@ OUT2LIB=$(BUILD_DIR)$/src$/hunspell$/.libs$/libhunspell-1.2.a .IF "$(GUI)"=="WNT" .IF "$(COM)"=="GCC" +PATCH_FILES=\ + hunspell-mingw.patch + CONFIGURE_ACTION=configure -CONFIGURE_FLAGS= --disable-shared --with-pic +CONFIGURE_FLAGS= --disable-shared --with-pic LDFLAGS=-Wl,--enable-runtime-pseudo-reloc-v2 BUILD_ACTION=make OUT2LIB=$(BUILD_DIR)$/src$/hunspell$/.libs$/libhunspell-1.2.a .ELSE |