summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hunspell/hunspell-consts-1.2.8.patch22
-rw-r--r--hunspell/makefile.mk4
2 files changed, 25 insertions, 1 deletions
diff --git a/hunspell/hunspell-consts-1.2.8.patch b/hunspell/hunspell-consts-1.2.8.patch
new file mode 100644
index 000000000000..8f8c72796cb4
--- /dev/null
+++ b/hunspell/hunspell-consts-1.2.8.patch
@@ -0,0 +1,22 @@
+--- misc/hunspell-1.2.8/src/hunspell/affixmgr.cxx 2009-05-16 14:33:27.000000000 +0100
++++ misc/build/hunspell-1.2.8/src/hunspell/affixmgr.cxx 2009-05-16 14:35:52.000000000 +0100
+@@ -3238,7 +3238,7 @@
+ }
+
+ // return the value of suffix
+-const int AffixMgr::have_contclass()
++int AffixMgr::have_contclass() const
+ {
+ return havecontclass;
+ }
+--- misc/hunspell-1.2.8.orig/src/hunspell/affixmgr.hxx 2009-05-16 14:33:27.000000000 +0100
++++ misc/build/hunspell-1.2.8/src/hunspell/affixmgr.hxx 2009-05-16 14:35:38.000000000 +0100
+@@ -189,7 +189,7 @@
+ const char * get_suffix();
+ const char * get_derived();
+ const char * get_version();
+- const int have_contclass();
++ int have_contclass() const;
+ int get_utf8();
+ int get_complexprefixes();
+ char * get_suffixed(char );
diff --git a/hunspell/makefile.mk b/hunspell/makefile.mk
index c8d8d5c91a41..db667cc038d2 100644
--- a/hunspell/makefile.mk
+++ b/hunspell/makefile.mk
@@ -45,7 +45,9 @@ TARFILE_ROOTDIR=hunspell-1.2.8
#ADDITIONAL_FILES += src/hunspell/makefile.mk
-PATCH_FILES=hunspell-1.2.8.patch
+PATCH_FILES=\
+ hunspell-1.2.8.patch \
+ hunspell-consts-1.2.8.patch # hunspell#2064983
.IF "$(GUI)"=="UNX"
#CONFIGURE_DIR=$(BUILD_DIR)