summaryrefslogtreecommitdiff
path: root/math/scilab/files/patch-ag
diff options
context:
space:
mode:
authorSADA Kenji <sada@FreeBSD.org>2001-10-03 14:44:01 +0000
committerSADA Kenji <sada@FreeBSD.org>2001-10-03 14:44:01 +0000
commitdaa4df5b0b6a0eb58e959190ed6a757eeac5d43e (patch)
tree4c03022ea86f400823220f697f937d4580b74f9b /math/scilab/files/patch-ag
parentAdd 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>
Diffstat (limited to 'math/scilab/files/patch-ag')
-rw-r--r--math/scilab/files/patch-ag58
1 files changed, 11 insertions, 47 deletions
diff --git a/math/scilab/files/patch-ag b/math/scilab/files/patch-ag
index 4cfdec2b65c2..52af70c55253 100644
--- a/math/scilab/files/patch-ag
+++ b/math/scilab/files/patch-ag
@@ -1,47 +1,11 @@
---- routines/sun/link_SYSV.c.orig Tue Oct 13 08:27:18 1998
-+++ routines/sun/link_SYSV.c Sat Dec 19 23:54:03 1998
-@@ -34,5 +34,5 @@
- #endif
-
--#ifdef linux
-+#if defined(linux) || defined(netbsd) || defined(freebsd)
- #include <unistd.h>
- #include <sys/wait.h>
-@@ -41,4 +41,5 @@
- #ifndef linux
- #ifndef hppa
-+#if (!defined(netbsd) && !defined(freebsd))
- #if (defined(sun) && ! defined(SYSV))
- #else
-@@ -47,6 +48,7 @@
- #endif
- #endif
-+#endif
-
--#ifndef linux
-+#if !defined(linux) && !defined(netbsd)
- #ifdef __alpha
- #include <c_asm.h>
-@@ -59,7 +61,9 @@
- #endif
-
-+#if !defined(netbsd)
- #if defined __alpha || defined sgi
- #include <a.out.h>
- #endif
-+#endif
-
- #include <string.h>
-@@ -264,8 +268,12 @@
- "/usr/bin/ld", "-shared", "-o", 0, 0
- #else
-+#if defined(netbsd) || defined(freebsd)
-+ "/usr/bin/ld", "-Bshareable", "-o", 0, 0
-+#else
- #ifdef hppa
- "/bin/ld", "-b", "-o", 0, 0
- #else
- "/bin/ld", "-shared", "-o", 0, 0
-+#endif
- #endif
- #endif
+--- macros/scicos/do_block_info.sci Fri Jul 6 10:51:58 2001
++++ macros/scicos/do_block_info.sci Fri Jul 6 11:09:23 2001
+@@ -43,7 +43,7 @@
+ out_f = strsubsTMPDIR,'/','\')+'\scs_info';
+ hos''"'+strsubsSCI,'/','\')+'\bin\xless.exe'" '+ out_f);
+ else
+- unix_s(SCI+'/bin/xless '+TMPDIR+'/scs_info&')
++ unix_s('xless '+TMPDIR+'/scs_info&')
+ end
+ end
+ else