1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/math/Scilab/files/patch-ad

28 lines
620 B
Plaintext
Raw Normal View History

diff -c -r /usr/LOCAL/scilab2.3/work/scilab-2.3/imp/Slatexpr2.c ./imp/Slatexpr2.c
*** /usr/LOCAL/scilab2.3/work/scilab-2.3/imp/Slatexpr2.c Mon May 12 16:34:55 1997
--- ./imp/Slatexpr2.c Wed May 21 01:00:03 1997
***************
*** 5,10 ****
--- 5,13 ----
#include <malloc.h>
#endif
#include <stdio.h>
+ #ifdef __FreeBSD__
+ #include <floatingpoint.h>
+ #endif
void readOneLine();
***************
*** 142,147 ****
--- 145,153 ----
int i ;
FILE *fd;
FILE *fdo;
+ #ifdef __FreeBSD__
+ fpsetmask(0);
+ #endif
if (argc !=4 ) { int i=0;
while (strcmp(UsageStr[i],"fin")!=0)
{