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

31 lines
619 B
Plaintext
Raw Normal View History

--- geci/scruteur.c.orig Tue May 27 05:13:53 1997
+++ geci/scruteur.c Wed Jan 13 19:34:54 1999
@@ -11,7 +11,16 @@
#include <errno.h>
#include <stdio.h>
+#include <string.h>
#include <signal.h>
#include <netdb.h>
+#if defined(netbsd)
+#include <ieeefp.h>
+#endif
+
+#if defined(freebsd)
+#include <floatingpoint.h>
+#endif
+
#include "listes_chainees.h"
#include "utilitaires.h"
@@ -46,5 +55,9 @@
sigset_t set,oset;
#endif
-
+
+#if (defined(netbsd) || defined(freebsd)) && !defined(__alpha__)
+ fpsetmask(0);
+#endif
+
signal(SIGTERM,signal_arret_scruteur);
signal(SIGQUIT,signal_arret_scruteur);