summaryrefslogtreecommitdiff
path: root/hunspell
diff options
context:
space:
mode:
authorobo <obo@openoffice.org>2010-06-22 16:02:44 +0200
committerobo <obo@openoffice.org>2010-06-22 16:02:44 +0200
commitd66343ab594fac375f4e3fc939594e9ebe5d4963 (patch)
treeb42e0b1f4044eb596050209047dfe935706a61fa /hunspell
parenta1004a464f08acecd70fb8465532ef65aae58bd8 (diff)
parentf49fe0bfe93b4543e0b9f0819169f474dc9ad329 (diff)
CWS-TOOLING: integrate CWS mingwport30
Notes
split repo tag: libs-extern-sys_ooo/DEV300_m84 split repo tag: libs-extern-sys_ooo/OOO330_m0
Diffstat (limited to 'hunspell')
-rw-r--r--hunspell/hunspell-mingw.patch12
-rw-r--r--hunspell/makefile.mk5
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