summaryrefslogtreecommitdiff
path: root/math/scilab/patches/patch-aw
diff options
context:
space:
mode:
authorfrueauf <frueauf@pkgsrc.org>1999-03-05 11:22:34 +0000
committerfrueauf <frueauf@pkgsrc.org>1999-03-05 11:22:34 +0000
commit7b74a65cd4eca5ca6a403023720a4601ed6369c6 (patch)
treeb3f8fac100261b28f0835ee53f0c903f8ef2b4b9 /math/scilab/patches/patch-aw
parent2f658cbe0d92ef0d83799065d67543616fc78fca (diff)
downloadpkgsrc-7b74a65cd4eca5ca6a403023720a4601ed6369c6.tar.gz
Update scilab to 2.4.1. This is based on the work provided in pr 6889
by Dan McMahill. It fixes several serious problems for NetBSD/alpha and some for NetBSD/sparc. Thanx for doing the work, Dan!
Diffstat (limited to 'math/scilab/patches/patch-aw')
-rw-r--r--math/scilab/patches/patch-aw24
1 files changed, 17 insertions, 7 deletions
diff --git a/math/scilab/patches/patch-aw b/math/scilab/patches/patch-aw
index 45f7af2c746..dddd2b85648 100644
--- a/math/scilab/patches/patch-aw
+++ b/math/scilab/patches/patch-aw
@@ -1,10 +1,20 @@
-$NetBSD: patch-aw,v 1.1 1998/08/25 12:53:10 agc Exp $
+$NetBSD: patch-aw,v 1.2 1999/03/05 11:22:35 frueauf Exp $
---- ./pvm3/src/pvmdpack.c.orig Sat Jul 18 22:31:50 1998
-+++ ./pvm3/src/pvmdpack.c Sat Jul 18 22:31:50 1998
-@@ -64,4 +64,5 @@
+--- routines/xsci/wf_f_util.c.orig Fri Dec 18 23:37:39 1998
++++ routines/xsci/wf_f_util.c Fri Dec 18 23:38:57 1998
+@@ -11,4 +11,8 @@
*/
-+#include <sys/types.h>
- #ifdef NEEDMENDIAN
- #include <machine/endian.h>
++#if defined(netbsd) || defined(freebsd)
++#include <unistd.h>
++#endif
++
+ #include "wf_fig.h"
+ #include "wf_resources.h"
+@@ -66,5 +70,5 @@
+ get_directory()
+ {
+-#if defined(SYSV) || defined(SVR4)
++#if defined(SYSV) || defined(SVR4) || defined(netbsd) || defined(freebsd)
+ extern char *getcwd();
+