diff options
author | Steve Price <steve@FreeBSD.org> | 1999-11-27 01:38:31 +0000 |
---|---|---|
committer | Steve Price <steve@FreeBSD.org> | 1999-11-27 01:38:31 +0000 |
commit | dca1739cb81ca56f39856d32d290dae2f858dd34 (patch) | |
tree | 60e947f5827065aa5532bf9e61fce010201fc43a /math/Scilab/files/patch-ao | |
parent | Use ifreq.ifr_flags instead of ifreq.ifru.ifru_flags so this build on both (diff) |
Update to version 2.4.1.
PR: 14877
Submitted by: Pedro F. Giffuni <pfgiffun@bachue.usc.unal.edu.co>
Notes
Notes:
svn path=/head/; revision=23432
Diffstat (limited to 'math/Scilab/files/patch-ao')
-rw-r--r-- | math/Scilab/files/patch-ao | 35 |
1 files changed, 23 insertions, 12 deletions
diff --git a/math/Scilab/files/patch-ao b/math/Scilab/files/patch-ao index b28d529f8fe0..022ca27a4005 100644 --- a/math/Scilab/files/patch-ao +++ b/math/Scilab/files/patch-ao @@ -1,12 +1,23 @@ -diff -c -r /usr/LOCAL/scilab2.3/work/scilab-2.3/xmetanet/init.c ./xmetanet/init.c -*** /usr/LOCAL/scilab2.3/work/scilab-2.3/xmetanet/init.c Mon May 12 16:34:40 1997 ---- ./xmetanet/init.c Mon May 19 00:29:50 1997 -*************** -*** 1,3 **** ---- 1,6 ---- -+ #ifdef __FreeBSD__ -+ #include <sys/types.h> -+ #endif - #include <dirent.h> - #include <stdlib.h> - #include <string.h> +--- imp/Slatexpr2.c.orig Fri Dec 18 23:25:51 1998 ++++ imp/Slatexpr2.c Fri Dec 18 23:28:00 1998 +@@ -9,4 +9,12 @@ + #include <stdio.h> + ++#if defined(netbsd) ++#include <ieeefp.h> ++#endif ++ ++#if defined(freebsd) ++#include <floatingpoint.h> ++#endif ++ + void readOneLine(); + +@@ -163,4 +171,7 @@ + FILE *fd; + FILE *fdo; ++#if (defined(netbsd) || defined(freebsd)) && !defined(__alpha__) ++ fpsetmask(0); ++#endif + #ifdef WIN32 + SciEnv(); |