freebsd-ports/lang/smalltalk/files/patch-aa
Vanilla I. Shu 9774b151f8 Upgrade to 1.95.1,
I merge splited-info files to one file.

PR:		ports/25211
Submitted by:	tkato@prontomail.ne.jp
2001-02-20 16:50:54 +00:00

22 lines
446 B
Text

--- libgst/lex.c.orig Wed Dec 27 18:43:24 2000
+++ libgst/lex.c Sat Feb 10 10:11:18 2001
@@ -52,6 +52,9 @@
#include <stdio.h>
#include <ctype.h>
#include <math.h>
+#if defined(__FreeBSD__)
+#include <floatingpoint.h>
+#endif
#ifdef HAVE_READLINE
#include <readline/readline.h>
@@ -764,6 +767,9 @@
if (isNegative) {
num = -num;
}
+#if defined(__FreeBSD__)
+ fpsetmask(0);
+#endif
if (isFloat) {
lvalp->fval = num;