pkgsrc/math/scilab/patches/patch-av
dmcmahill 353a876869 Update to scilab-4.1. The old version was very out of date and there
have been many many changes including many bug fixes, graphics improvements,
editor improvements, new toolbox functions, etc.
2007-03-23 22:08:55 +00:00

14 lines
647 B
Text

$NetBSD: patch-av,v 1.7 2007/03/23 22:08:58 dmcmahill Exp $
--- routines/xsci/x_misc.c.orig 2006-11-21 15:42:49.000000000 +0000
+++ routines/xsci/x_misc.c
@@ -509,8 +509,7 @@ void Panic(s, a)
/* #include "wf_fig.h" */ /** for sys_errlist **/
#ifndef linux
-#if !defined(__bsdi__) && !defined(__NetBSD__) && !defined(__APPLE__) && !defined(__FreeBSD__)
-extern int errno;
+#if !defined(__bsdi__) && !defined(__NetBSD__) && !defined(__APPLE__) && !defined(__FreeBSD__) && !defined(__DragonFly__)
extern int sys_nerr;
#if (! (defined(BSD) && (BSD >= 199306))) && !defined(__FreeBSD__) && !defined(__APPLE__)
extern char *sys_errlist[];