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-ac
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
698 B
Plaintext

diff -c -r /usr/LOCAL/scilab2.3/work/scilab-2.3/geci/scruteur.c ./geci/scruteur.c
*** /usr/LOCAL/scilab2.3/work/scilab-2.3/geci/scruteur.c Mon May 12 16:34:55 1997
--- ./geci/scruteur.c Wed May 21 00:58:59 1997
***************
*** 12,17 ****
--- 12,20 ----
#include <stdio.h>
#include <signal.h>
#include <netdb.h>
+ #ifdef __FreeBSD__
+ #include <floatingpoint.h>
+ #endif
#include "listes_chainees.h"
#include "utilitaires.h"
***************
*** 45,50 ****
--- 48,56 ----
#if defined (sun) && defined (SYSV)
sigset_t set,oset;
#endif
+ #ifdef __FreeBSD__
+ fpsetmask(0);
+ #endif
signal(SIGTERM,signal_arret_scruteur);
signal(SIGQUIT,signal_arret_scruteur);