- Update to 1.1.10
PR: ports/115783 Submitted by: Janos Mohacsi <janos.mohacsi@bsd.hu> (maintainer)
This commit is contained in:
parent
7dca4ce1a0
commit
413eae843b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=198452
6 changed files with 62 additions and 10 deletions
|
@ -6,7 +6,7 @@
|
|||
#
|
||||
|
||||
PORTNAME= hunspell
|
||||
PORTVERSION= 1.1.9
|
||||
PORTVERSION= 1.1.10
|
||||
CATEGORIES= hungarian textproc
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:S@$@:code@:S@%SUBDIR%@${PORTNAME}@} \
|
||||
http://magyarispell.sourceforge.net/:data
|
||||
|
@ -36,7 +36,6 @@ do-extract:
|
|||
cd ${WRKDIR} && ${TAR} -xzf ${_DISTDIR}/${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX};\
|
||||
${UNZIP_CMD} -qo ${_DISTDIR}/hu_HU.zip -d ${WRKDIR}
|
||||
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \
|
||||
${WRKSRC}/src/tools/hunspell.cxx
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
MD5 (hunspell-1.1.9.tar.gz) = ff56cf42ebf13dd3b8437194f43c6c7a
|
||||
SHA256 (hunspell-1.1.9.tar.gz) = c36ed98189da373f3f24e7be97425454e6706cc3e0d07ff39f8c1bcd6689d543
|
||||
SIZE (hunspell-1.1.9.tar.gz) = 684426
|
||||
MD5 (hunspell-1.1.10.tar.gz) = e1fe2a3de7eedf5e9ec8e62f9ecbdddd
|
||||
SHA256 (hunspell-1.1.10.tar.gz) = a241057dad469f4e61027816d800f2935f68b86a6155188e4ccb5280232f646c
|
||||
SIZE (hunspell-1.1.10.tar.gz) = 723968
|
||||
MD5 (hu_HU.zip) = c5a0af97a41c1ad65b3f48824b575ad1
|
||||
SHA256 (hu_HU.zip) = ab039056c7b38a07981e0b1dd7ea0c2dbfd38326392981e6893d3325376e9908
|
||||
SIZE (hu_HU.zip) = 1197277
|
||||
|
|
27
hungarian/hunspell/files/patch-src_hunspell_suggestmgr.hxx
Normal file
27
hungarian/hunspell/files/patch-src_hunspell_suggestmgr.hxx
Normal file
|
@ -0,0 +1,27 @@
|
|||
|
||||
$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);
|
|
@ -6,7 +6,7 @@
|
|||
#
|
||||
|
||||
PORTNAME= hunspell
|
||||
PORTVERSION= 1.1.9
|
||||
PORTVERSION= 1.1.10
|
||||
CATEGORIES= hungarian textproc
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:S@$@:code@:S@%SUBDIR%@${PORTNAME}@} \
|
||||
http://magyarispell.sourceforge.net/:data
|
||||
|
@ -36,7 +36,6 @@ do-extract:
|
|||
cd ${WRKDIR} && ${TAR} -xzf ${_DISTDIR}/${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX};\
|
||||
${UNZIP_CMD} -qo ${_DISTDIR}/hu_HU.zip -d ${WRKDIR}
|
||||
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \
|
||||
${WRKSRC}/src/tools/hunspell.cxx
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
MD5 (hunspell-1.1.9.tar.gz) = ff56cf42ebf13dd3b8437194f43c6c7a
|
||||
SHA256 (hunspell-1.1.9.tar.gz) = c36ed98189da373f3f24e7be97425454e6706cc3e0d07ff39f8c1bcd6689d543
|
||||
SIZE (hunspell-1.1.9.tar.gz) = 684426
|
||||
MD5 (hunspell-1.1.10.tar.gz) = e1fe2a3de7eedf5e9ec8e62f9ecbdddd
|
||||
SHA256 (hunspell-1.1.10.tar.gz) = a241057dad469f4e61027816d800f2935f68b86a6155188e4ccb5280232f646c
|
||||
SIZE (hunspell-1.1.10.tar.gz) = 723968
|
||||
MD5 (hu_HU.zip) = c5a0af97a41c1ad65b3f48824b575ad1
|
||||
SHA256 (hu_HU.zip) = ab039056c7b38a07981e0b1dd7ea0c2dbfd38326392981e6893d3325376e9908
|
||||
SIZE (hu_HU.zip) = 1197277
|
||||
|
|
27
textproc/hunspell/files/patch-src_hunspell_suggestmgr.hxx
Normal file
27
textproc/hunspell/files/patch-src_hunspell_suggestmgr.hxx
Normal file
|
@ -0,0 +1,27 @@
|
|||
|
||||
$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);
|
Loading…
Reference in a new issue