diff options
Diffstat (limited to 'math/Scilab/files/patch-al')
-rw-r--r-- | math/Scilab/files/patch-al | 25 |
1 files changed, 10 insertions, 15 deletions
diff --git a/math/Scilab/files/patch-al b/math/Scilab/files/patch-al index 526c01eee4c9..ffed38bb80e5 100644 --- a/math/Scilab/files/patch-al +++ b/math/Scilab/files/patch-al @@ -1,15 +1,10 @@ -diff -c -r /usr/LOCAL/scilab2.3/work/scilab-2.3/routines/xsci/wf_fig.h ./routines/xsci/wf_fig.h -*** /usr/LOCAL/scilab2.3/work/scilab-2.3/routines/xsci/wf_fig.h Mon May 12 16:34:24 1997 ---- ./routines/xsci/wf_fig.h Fri May 16 20:27:49 1997 -*************** -*** 209,215 **** ---- 209,217 ---- - - extern int errno; - extern int sys_nerr; -+ #ifndef __FreeBSD__ - extern char *sys_errlist[]; -+ #endif - - #include <math.h> /* for sin(), cos() etc */ - +--- ./routines/metanet/files.c.orig Sat Aug 8 14:04:52 1998 ++++ ./routines/metanet/files.c Sat Aug 8 14:06:46 1998 +@@ -1,4 +1,7 @@ + #include <stdio.h> + #ifndef __MSC__ ++#if defined(netbsd) || defined(freebsd) ++#include <sys/types.h> ++#endif + #include <dirent.h> + #endif |