From dca1739cb81ca56f39856d32d290dae2f858dd34 Mon Sep 17 00:00:00 2001 From: Steve Price Date: Sat, 27 Nov 1999 01:38:31 +0000 Subject: Update to version 2.4.1. PR: 14877 Submitted by: Pedro F. Giffuni --- math/scilab/files/patch-ak | 79 +++++++++++----------------------------------- 1 file changed, 19 insertions(+), 60 deletions(-) (limited to 'math/scilab/files/patch-ak') diff --git a/math/scilab/files/patch-ak b/math/scilab/files/patch-ak index 6572a99dcfc0..90053b125bf8 100644 --- a/math/scilab/files/patch-ak +++ b/math/scilab/files/patch-ak @@ -1,60 +1,19 @@ -diff -c -r /usr/LOCAL/scilab2.3/work/scilab-2.3/routines/sun/link_SYSV.c ./routines/sun/link_SYSV.c -*** /usr/LOCAL/scilab2.3/work/scilab-2.3/routines/sun/link_SYSV.c Mon May 12 16:34:04 1997 ---- ./routines/sun/link_SYSV.c Wed May 21 00:12:20 1997 -*************** -*** 27,42 **** - #include - #endif - -! #ifdef linux - #include - #include - #endif - - #ifndef linux - #ifndef hppa - #include - #endif - #endif - - #ifdef __alpha - #include ---- 27,47 ---- - #include - #endif - -! #if defined(linux) || defined(__FreeBSD__) - #include - #include - #endif - -+ #ifdef __FreeBSD__ -+ #define RTLD_NOW 1 -+ #endif - #ifndef linux -+ #ifndef __FreeBSD__ - #ifndef hppa - #include - #endif - #endif -+ #endif - - #ifdef __alpha - #include -*************** -*** 169,178 **** ---- 174,187 ---- - #ifdef linux - "/usr/bin/ld", "-shared", "-o", 0, 0 - #else -+ #ifdef __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 - #endif +--- ./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 + #ifndef __MSC__ ++#if defined(netbsd) || defined(freebsd) ++#include ++#endif + #include + #endif +@@ -13,4 +16,8 @@ + /** only used for x=dir[1024] **/ + #define getwd(x) _getcwd(x,1024) ++#endif ++ ++#if defined(netbsd) || defined(freebsd) ++#include + #endif + -- cgit v1.2.3