diff options
author | SADA Kenji <sada@FreeBSD.org> | 2001-10-03 14:44:01 +0000 |
---|---|---|
committer | SADA Kenji <sada@FreeBSD.org> | 2001-10-03 14:44:01 +0000 |
commit | daa4df5b0b6a0eb58e959190ed6a757eeac5d43e (patch) | |
tree | 4c03022ea86f400823220f697f937d4580b74f9b /math/scilab/files/patch-ak | |
parent | Add xpp-1.0, a GUI print front-end for CUPS (diff) |
New ports for scilab 2.6 .
PR: ports/26997
Submitted by: Jean-Sebastien Roy <jean-sebastien.roy@wanadoo.fr>
Notes
Notes:
svn path=/head/; revision=48395
Diffstat (limited to 'math/scilab/files/patch-ak')
-rw-r--r-- | math/scilab/files/patch-ak | 30 |
1 files changed, 11 insertions, 19 deletions
diff --git a/math/scilab/files/patch-ak b/math/scilab/files/patch-ak index 90053b125bf8..2305308e3565 100644 --- a/math/scilab/files/patch-ak +++ b/math/scilab/files/patch-ak @@ -1,19 +1,11 @@ ---- ./routines/metanet/saveg.c.orig Sat Aug 8 14:01:11 1998 -+++ ./routines/metanet/saveg.c Sat Aug 8 14:06:07 1998 -@@ -1,4 +1,7 @@ - #include <stdio.h> - #ifndef __MSC__ -+#if defined(netbsd) || defined(freebsd) -+#include <sys/types.h> -+#endif - #include <dirent.h> - #endif -@@ -13,4 +16,8 @@ - /** only used for x=dir[1024] **/ - #define getwd(x) _getcwd(x,1024) -+#endif -+ -+#if defined(netbsd) || defined(freebsd) -+#include <unistd.h> - #endif - +--- intersci/intersci.c.orig Wed Aug 15 16:21:17 2001 ++++ intersci/intersci.c Wed Aug 15 16:21:58 2001 +@@ -3326,7 +3326,7 @@ + white(f,7+indent); + count = 7+indent; + } +- if ( count == 72 && sbuf[i] != '\n' ) { fprintf(f,"\n $ ");count=7;} ++ if ( count == 72 && sbuf[i] != '\n' ) { fprintf(f,"\n /");count=6;} + if ( sbuf[i] == '\n') count = -1 ; + fprintf(f,"%c",sbuf[i]); + count++; |