summaryrefslogtreecommitdiff
path: root/textproc/hunspell/files
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/hunspell/files')
-rw-r--r--textproc/hunspell/files/patch-src_hunspell_suggestmgr.hxx27
-rw-r--r--textproc/hunspell/files/patch-src_tools_hunspell.cxx27
2 files changed, 0 insertions, 54 deletions
diff --git a/textproc/hunspell/files/patch-src_hunspell_suggestmgr.hxx b/textproc/hunspell/files/patch-src_hunspell_suggestmgr.hxx
deleted file mode 100644
index 0a381fae172c..000000000000
--- a/textproc/hunspell/files/patch-src_hunspell_suggestmgr.hxx
+++ /dev/null
@@ -1,27 +0,0 @@
-
-$FreeBSD$
-
---- src/hunspell/suggestmgr.hxx.orig
-+++ src/hunspell/suggestmgr.hxx
-@@ -61,8 +61,8 @@
-
- private:
- int testsug(char** wlst, const char * candidate, int wl, int ns, int cpdsuggest,
-- int * timer, time_t * timelimit);
-- int checkword(const char *, int, int, int *, time_t *);
-+ int * timer, clock_t * timelimit);
-+ int checkword(const char *, int, int, int *, clock_t *);
- int check_forbidden(const char *, int);
-
- int capchars(char **, const char *, int, int);
-@@ -89,8 +89,8 @@
- int movechar_utf(char **, const w_char *, int, int, int);
-
- int mapchars(char**, const char *, int, int);
-- int map_related(const char *, int, char ** wlst, int, int, const mapentry*, int, int *, time_t *);
-- int map_related_utf(w_char *, int, int, int, char ** wlst, int, const mapentry*, int, int *, time_t *);
-+ int map_related(const char *, int, char ** wlst, int, int, const mapentry*, int, int *, clock_t *);
-+ int map_related_utf(w_char *, int, int, int, char ** wlst, int, const mapentry*, int, int *, clock_t *);
- int ngram(int n, char * s1, const char * s2, int opt);
- int mystrlen(const char * word);
- int leftcommonsubstring(char * s1, const char * s2);
diff --git a/textproc/hunspell/files/patch-src_tools_hunspell.cxx b/textproc/hunspell/files/patch-src_tools_hunspell.cxx
deleted file mode 100644
index 1b82c1ecf916..000000000000
--- a/textproc/hunspell/files/patch-src_tools_hunspell.cxx
+++ /dev/null
@@ -1,27 +0,0 @@
-
-$FreeBSD$
-
---- src/tools/hunspell.cxx.orig
-+++ src/tools/hunspell.cxx
-@@ -59,16 +59,12 @@
- #include "manparser.hxx"
- #include "firstparser.hxx"
-
--#define LIBDIR "/usr/share/hunspell:/usr/share/myspell"
-+#define LIBDIR "%%PREFIX%%/share/hunspell:%%PREFIX%%/share/myspell"
- #define USEROOODIR ".openoffice.org2/user/wordbook"
--#define OOODIR "/opt/openoffice.org2.3/share/dict/ooo:" \
-- "/usr/lib/openoffice.org2.3/share/dict/ooo:" \
-- "/opt/openoffice.org2.2/share/dict/ooo:" \
-- "/usr/lib/openoffice.org2.2/share/dict/ooo:" \
-- "/opt/openoffice.org2.1/share/dict/ooo:" \
-- "/usr/lib/openoffice.org2.1/share/dict/ooo:" \
-- "/opt/openoffice.org2.0/share/dict/ooo:" \
-- "/usr/lib/openoffice.org2.0/share/dict/ooo"
-+#define OOODIR "%%PREFIX%%/openoffice.org-2.3/share/dict/ooo:" \
-+ "%%PREFIX%%/openoffice.org-2.2/share/dict/ooo:" \
-+ "%%PREFIX%%/openoffice.org-2.1/share/dict/ooo:" \
-+ "%%PREFIX%%/openoffice.org2.0/share/dict/ooo"
- #define HOME getenv("HOME")
- #define DICBASENAME ".hunspell_"
- #define LOGFILE "/tmp/hunspell.log"