1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/math/scilab/files/patch-af

24 lines
816 B
Plaintext
Raw Normal View History

--- 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)