1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/math/Scilab/files/patch-ao
Steve Price dca1739cb8 Update to version 2.4.1.
PR:		14877
Submitted by:	Pedro F. Giffuni <pfgiffun@bachue.usc.unal.edu.co>
1999-11-27 01:38:31 +00:00

24 lines
435 B
Plaintext

--- imp/Slatexpr2.c.orig Fri Dec 18 23:25:51 1998
+++ imp/Slatexpr2.c Fri Dec 18 23:28:00 1998
@@ -9,4 +9,12 @@
#include <stdio.h>
+#if defined(netbsd)
+#include <ieeefp.h>
+#endif
+
+#if defined(freebsd)
+#include <floatingpoint.h>
+#endif
+
void readOneLine();
@@ -163,4 +171,7 @@
FILE *fd;
FILE *fdo;
+#if (defined(netbsd) || defined(freebsd)) && !defined(__alpha__)
+ fpsetmask(0);
+#endif
#ifdef WIN32
SciEnv();