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-ac

28 lines
698 B
Plaintext
Raw Normal View History

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);