1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-05 22:43:24 +00:00
freebsd-ports/math/Scilab/files/patch-af
Steve Price dca1739cb8 Update to version 2.4.1.
PR:		14877
Submitted by:	Pedro F. Giffuni <pfgiffun@bachue.usc.unal.edu.co>
1999-11-27 01:38:31 +00:00

24 lines
816 B
Plaintext

--- routines/sun/link.c.orig Tue Aug 25 04:24:09 1998
+++ routines/sun/link.c Sat Dec 19 00:53:28 1998
@@ -120,9 +120,9 @@
-#if defined(sun) || defined(__alpha) || defined(sgi) || (!defined(hppa_old) && defined(hppa))
+#if defined(netbsd) || defined(freebsd) || defined(sun) || defined(__alpha) || defined(sgi) || (!defined(hppa_old) && defined(hppa))
#include "link_SYSV.c"
#else
/** no more used on sun */
-#if defined(sun_old) || defined(mips) || defined(_IBMR2) || defined(hppa_old)
+#if defined(sun_old) || (defined(mips) && !defined(netbsd)) || defined(_IBMR2) || defined(hppa_old)
#ifdef SUNOSDLD
#include "link_linux.c"
@@ -145,4 +145,8 @@
C2F(dyncall)() {cerro("Dynamic link not implemented");}
**/
+int LinkStatus()
+{
+ return(0);
+}
void SciLink(iflag,rhs,ilib,files,en_names,strf)