1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/math/scilab/files/patch-am
Thomas Gellekum cad64cdf20 Import of Scilab port. Scilab is a matlab-like package.
PR:		3867
Submitted by:	Paulo Menezes <paulo@isr.uc.pt>
1997-06-18 12:14:52 +00:00

16 lines
492 B
Plaintext

diff -c -r /usr/LOCAL/scilab2.3/work/scilab-2.3/routines/xsci/x_misc.c ./routines/xsci/x_misc.c
*** /usr/LOCAL/scilab2.3/work/scilab-2.3/routines/xsci/x_misc.c Mon May 12 16:34:23 1997
--- ./routines/xsci/x_misc.c Fri May 16 20:29:07 1997
***************
*** 507,513 ****
--- 507,515 ----
char *SysErrorMsg(n)
int n;
{
+ #ifndef __FreeBSD__
extern char *sys_errlist[];
+ #endif
extern int sys_nerr;
return ((n >= 0 && n < sys_nerr) ? sys_errlist[n] : "unknown error");