summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--external/languagetool/UnpackedTarball_languagetool.mk1
-rw-r--r--external/languagetool/esperanto.territory.patch12
2 files changed, 13 insertions, 0 deletions
diff --git a/external/languagetool/UnpackedTarball_languagetool.mk b/external/languagetool/UnpackedTarball_languagetool.mk
index 317be406a0a2..efca850c9eff 100644
--- a/external/languagetool/UnpackedTarball_languagetool.mk
+++ b/external/languagetool/UnpackedTarball_languagetool.mk
@@ -18,6 +18,7 @@ $(eval $(call gb_UnpackedTarball_add_patches,languagetool,\
external/languagetool/JLanguageTool-1.4.0-no-hc.patch \
external/languagetool/MessageBox-apichange.patch \
external/languagetool/english.ireland.patch \
+ external/languagetool/esperanto.territory.patch \
))
# vim: set noet sw=4 ts=4:
diff --git a/external/languagetool/esperanto.territory.patch b/external/languagetool/esperanto.territory.patch
new file mode 100644
index 000000000000..6037adc43c07
--- /dev/null
+++ b/external/languagetool/esperanto.territory.patch
@@ -0,0 +1,12 @@
+--- misc/build/JLanguageTool-1.7.0/src/java/org/languagetool/language/Esperanto.java.orig 2013-11-18 10:18:49.111712785 +0000
++++ misc/build/JLanguageTool-1.7.0/src/java/org/languagetool/language/Esperanto.java 2013-11-18 10:18:59.254813036 +0000
+@@ -71,8 +71,7 @@
+
+ @Override
+ public String[] getCountryVariants() {
+- /* return "ANY" country code as a "country-less" placeholder for OOo: */
+- return new String[] {"ANY"};
++ return new String[] {""};
+ }
+
+ @Override