diff options
Diffstat (limited to 'math/scilab/files/patch-ag')
-rw-r--r-- | math/scilab/files/patch-ag | 58 |
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 |