summaryrefslogtreecommitdiff
path: root/math/Scilab/files/patch-ag
diff options
context:
space:
mode:
authorThomas Gellekum <tg@FreeBSD.org>1997-06-18 12:14:52 +0000
committerThomas Gellekum <tg@FreeBSD.org>1997-06-18 12:14:52 +0000
commitcad64cdf202ccee70aa99a52da882a3cbdd1ae03 (patch)
treecbeb57a06a96d8a6687549bd78e3440f02ce096b /math/Scilab/files/patch-ag
parentActivate LPRng. (diff)
Import of Scilab port. Scilab is a matlab-like package.
PR: 3867 Submitted by: Paulo Menezes <paulo@isr.uc.pt>
Diffstat (limited to 'math/Scilab/files/patch-ag')
-rw-r--r--math/Scilab/files/patch-ag26
1 files changed, 26 insertions, 0 deletions
diff --git a/math/Scilab/files/patch-ag b/math/Scilab/files/patch-ag
new file mode 100644
index 000000000000..41a8dd946bae
--- /dev/null
+++ b/math/Scilab/files/patch-ag
@@ -0,0 +1,26 @@
+diff -c -r /usr/LOCAL/scilab2.3/work/scilab-2.3/routines/default/scimem.c ./routines/default/scimem.c
+*** /usr/LOCAL/scilab2.3/work/scilab-2.3/routines/default/scimem.c Mon May 12 16:33:46 1997
+--- ./routines/default/scimem.c Wed May 21 00:47:34 1997
+***************
+*** 8,13 ****
+--- 8,27 ----
+
+
+ #include "../machine.h"
++ #if defined (__FreeBSD__)
++ #include <floatingpoint.h> /* This should be elsewhere but I had to
++ put it somewhere :( */
++ void C2F(nofpex)()
++ {
++ fpsetmask(0); /* Don't dump core on FPE return Inf or NaN */
++ }
++ #else
++ void C2F(nofpex)()
++ {
++ return;
++ }
++ #endif /*freebsd*/
++
+
+ char *the_p=NULL;
+ char *the_ps=NULL;