aboutsummaryrefslogtreecommitdiffstats
path: root/math/Scilab/files/patch-ah
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>1997-06-18 20:14:52 +0800
committertg <tg@FreeBSD.org>1997-06-18 20:14:52 +0800
commitff2bb5ea0627fea446c42da9a4d96164b357ac33 (patch)
tree44df20730fc8e1361a267f00c4a8fa6afe034d23 /math/Scilab/files/patch-ah
parent5f9090fe97f4861fb6a397e1979d278a6f9491bf (diff)
downloadfreebsd-ports-graphics-ff2bb5ea0627fea446c42da9a4d96164b357ac33.tar.gz
freebsd-ports-graphics-ff2bb5ea0627fea446c42da9a4d96164b357ac33.tar.zst
freebsd-ports-graphics-ff2bb5ea0627fea446c42da9a4d96164b357ac33.zip
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-ah')
-rw-r--r--math/Scilab/files/patch-ah15
1 files changed, 15 insertions, 0 deletions
diff --git a/math/Scilab/files/patch-ah b/math/Scilab/files/patch-ah
new file mode 100644
index 00000000000..a75a6bd99ea
--- /dev/null
+++ b/math/Scilab/files/patch-ah
@@ -0,0 +1,15 @@
+diff -c -r /usr/LOCAL/scilab2.3/work/scilab-2.3/routines/sound/misc.c ./routines/sound/misc.c
+*** /usr/LOCAL/scilab2.3/work/scilab-2.3/routines/sound/misc.c Mon May 12 16:34:27 1997
+--- ./routines/sound/misc.c Fri May 16 20:25:33 1997
+***************
+*** 358,364 ****
+--- 358,366 ----
+ {
+ static char nomesg[30];
+ extern int sys_nerr;
++ #ifndef __FreeBSD__
+ extern char *sys_errlist[];
++ #endif
+ if (errcode < sys_nerr)
+ return (sys_errlist[errcode]);
+ else