freebsd-ports/textproc/srilm/files/patch-lm-src-matherr.c
Cheng-Lung Sung c066628326 - fixed install fail.
- add SHA256

PR:		ports/99193
Submitted by:	Tian-Jian Jiang <barabbas_AT_gmail dot com>
2006-07-03 07:31:08 +00:00

16 lines
319 B
C

--- 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;
- }
}