summaryrefslogtreecommitdiff
path: root/math/scilab/files/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'math/scilab/files/patch-ac')
-rw-r--r--math/scilab/files/patch-ac27
1 files changed, 27 insertions, 0 deletions
diff --git a/math/scilab/files/patch-ac b/math/scilab/files/patch-ac
new file mode 100644
index 000000000000..a7eb66c2c10c
--- /dev/null
+++ b/math/scilab/files/patch-ac
@@ -0,0 +1,27 @@
+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);