summaryrefslogtreecommitdiff
path: root/math/scilab/files/patch-aw
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1999-11-27 01:38:31 +0000
committerSteve Price <steve@FreeBSD.org>1999-11-27 01:38:31 +0000
commitdca1739cb81ca56f39856d32d290dae2f858dd34 (patch)
tree60e947f5827065aa5532bf9e61fce010201fc43a /math/scilab/files/patch-aw
parentUse ifreq.ifr_flags instead of ifreq.ifru.ifru_flags so this build on both (diff)
Update to version 2.4.1.
PR: 14877 Submitted by: Pedro F. Giffuni <pfgiffun@bachue.usc.unal.edu.co>
Notes
Notes: svn path=/head/; revision=23432
Diffstat (limited to 'math/scilab/files/patch-aw')
-rw-r--r--math/scilab/files/patch-aw18
1 files changed, 18 insertions, 0 deletions
diff --git a/math/scilab/files/patch-aw b/math/scilab/files/patch-aw
new file mode 100644
index 000000000000..5c31b270c019
--- /dev/null
+++ b/math/scilab/files/patch-aw
@@ -0,0 +1,18 @@
+--- 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 @@
+ */
+
++#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();
+