1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/math/Scilab/files/patch-ap

23 lines
462 B
Plaintext
Raw Normal View History

--- ./imp/Slpr.c.orig Mon Jul 20 07:34:06 1998
+++ ./imp/Slpr.c Sat Aug 8 13:11:59 1998
@@ -9,4 +9,11 @@
#include <stdio.h>
+#if defined(netbsd)
+#include <ieeefp.h>
+#endif
+
+#if defined(freebsd)
+#include <floatingpoint.h>
+#endif
#ifdef __STDC__
@@ -59,4 +66,7 @@
int i ;
FILE *fd;
+#if (defined(netbsd) || defined(freebsd)) && !defined(__alpha__)
+ fpsetmask(0);
+#endif
if (argc <= 2) { int i=0;
while (strcmp(UsageStr[i],"fin")!=0)