ports/math/scilab/files/patch-az
Yen-Ming Lee 223de69475 upgrate to scilab 2.7
PR:		50219 and 50221
Submitted by:	Jean-Sebastien Roy <js@jeannot.org>
2003-04-04 04:58:31 +00:00

15 lines
625 B
Text

--- routines/xsci/x_misc.c 2003/01/25 17:30:25 1.1
+++ routines/xsci/x_misc.c 2003/01/25 17:34:28
@@ -509,10 +509,10 @@
/* #include "wf_fig.h" */ /** for sys_errlist **/
#ifndef linux
-#if !defined(__bsdi__) && !defined(__NetBSD__) && !defined(__APPLE__)
+#if !defined(__bsdi__) && !defined(__NetBSD__) && !defined(__APPLE__) && !defined(__FreeBSD__)
extern int errno;
extern int sys_nerr;
-#if (! (defined(BSD) && (BSD >= 199306))) && !defined(freebsd) && !defined(__APPLE__)
+#if (! (defined(BSD) && (BSD >= 199306))) && !defined(__FreeBSD__) && !defined(__APPLE__)
extern char *sys_errlist[];
#endif
#endif