1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/lang/smalltalk/files/patch-aa
Will Andrews b148e9ca1d Update smalltalk to 1.7.3.
PR:		17685
Submitted by:	Alexander Langer <alex@big.endian.de>
Patch by:	KATO Tsuguru <tkato@prontomail.ne.jp>
2000-03-31 17:02:49 +00:00

23 lines
422 B
Plaintext

--- lib/lex.c.orig Mon Feb 21 19:05:50 2000
+++ lib/lex.c Sat Mar 25 21:43:17 2000
@@ -50,6 +50,9 @@
#include <stdio.h>
#include <math.h>
+#if defined(__FreeBSD__)
+#include <floatingpoint.h>
+#endif
#ifdef HAVE_READLINE
#include <readline/readline.h>
@@ -735,6 +738,9 @@
if (isNegative) {
num = -num;
}
+#if defined(__FreeBSD__)
+ fpsetmask(0);
+#endif
if (isFloat) {
lvalp->fval = num;