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-ae
Thomas Gellekum cad64cdf20 Import of Scilab port. Scilab is a matlab-like package.
PR:		3867
Submitted by:	Paulo Menezes <paulo@isr.uc.pt>
1997-06-18 12:14:52 +00:00

28 lines
596 B
Plaintext

diff -c -r /usr/LOCAL/scilab2.3/work/scilab-2.3/imp/Slpr.c ./imp/Slpr.c
*** /usr/LOCAL/scilab2.3/work/scilab-2.3/imp/Slpr.c Mon May 12 16:34:55 1997
--- ./imp/Slpr.c Wed May 21 00:55:40 1997
***************
*** 5,10 ****
--- 5,13 ----
#include <malloc.h>
#endif
#include <stdio.h>
+ #ifdef __FreeBSD__
+ #include <floatingpoint.h>
+ #endif
#ifdef __STDC__
***************
*** 52,57 ****
--- 55,63 ----
char buf[256];
int i ;
FILE *fd;
+ #ifdef __FreeBSD__
+ fpsetmask(0);
+ #endif
if (argc <= 2) { int i=0;
while (strcmp(UsageStr[i],"fin")!=0)
{