- fixed install fail.

- add SHA256

PR:		ports/99193
Submitted by:	Tian-Jian Jiang <barabbas_AT_gmail dot com>
This commit is contained in:
Cheng-Lung Sung 2006-07-03 07:31:08 +00:00
parent dbe3e25f73
commit c066628326
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=166812
3 changed files with 20 additions and 3 deletions

View File

@ -22,7 +22,7 @@ USE_GMAKE= yes
MAKE_ENV+= SRILM=${WRKSRC}
ALL_TARGET= World
ONLY_FOR_ARCHS= i386
NO_PACKAGE= "not yet"
NO_PACKAGE= not yet
PROGRAMS= ngram ngram-count ngram-merge ngram-class disambig anti-ngram \
nbest-lattice nbest-mix nbest-optimize nbest-pron-score \
@ -65,8 +65,8 @@ MAN5= ngram-format.5 nbest-format.5 classes-format.5 \
.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
ECHO_MSG=/usr/bin/printf
IGNORE= :\n\
Because of license document, we suggest you fetch the source distribution\n\
IGNORE= because of license document, we suggest you fetch the source \
distribution\n\
manually. Please access ${DOWNLOAD_URL}\n\
, follow the download instructions, download the source\n\
into ${DISTDIR}/, and then run make again.\n

View File

@ -1,2 +1,3 @@
MD5 (srilm.tgz) = e0923ac8fcf42c98e9118a705e0a1dd5
SHA256 (srilm.tgz) = 1965085b968350f035bab948ffcc8cc8fdb40ced73cf3694761fa4cf084aca16
SIZE (srilm.tgz) = 30315385

View File

@ -0,0 +1,16 @@
--- lm/src/matherr.c.orig Fri Jul 29 11:29:51 2005
+++ lm/src/matherr.c Mon Jul 3 15:16:58 2006
@@ -18,13 +18,6 @@
matherr(struct exception *x)
#endif
{
- if (x->type == SING && strcmp(x->name, "log10") == 0) {
- /*
- * suppress warnings about log10(0.0)
- */
- return 1;
- } else {
return 0;
- }
}