mirror of
https://git.freebsd.org/ports.git
synced 2025-06-16 02:00:30 -04:00
on amd64. A better fix would be to set pic_flags instead, and have scipy build a shared object for dfftpack instead a static archive, but I didn't figure out how. [1] - Pass maintainership to llwang@infor.org PR: ports/112429 [1] Submitted by: Li-Lun "Leland" Wang <llwang@infor.org> (new maintainer)
26 lines
1.3 KiB
C
26 lines
1.3 KiB
C
--- numpy/core/include/numpy/ufuncobject.h.orig 2007-08-20 21:00:58.000000000 -0500
|
|
+++ numpy/core/include/numpy/ufuncobject.h 2007-08-27 15:08:11.000000000 -0500
|
|
@@ -262,7 +262,10 @@
|
|
/* Solaris --------------------------------------------------------*/
|
|
/* --------ignoring SunOS ieee_flags approach, someone else can
|
|
** deal with that! */
|
|
-#elif defined(sun) || defined(__BSD__) || defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__NetBSD__)
|
|
+#if (defined(__unix__) || defined(unix)) && !defined(USG)
|
|
+#include <sys/param.h>
|
|
+#endif
|
|
+#elif defined(sun) || defined(__BSD__) || defined(__OpenBSD__) || (defined(__FreeBSD__) && (__FreeBSD_version < 502114)) || defined(__NetBSD__)
|
|
#include <ieeefp.h>
|
|
|
|
#define UFUNC_CHECK_STATUS(ret) { \
|
|
@@ -276,9 +279,9 @@
|
|
(void) fpsetsticky(0); \
|
|
}
|
|
|
|
-#elif defined(__GLIBC__) || defined(__APPLE__) || defined(__CYGWIN__) || defined(__MINGW32__)
|
|
+#elif defined(__GLIBC__) || defined(__APPLE__) || defined(__CYGWIN__) || defined(__MINGW32__) || (defined(__FreeBSD__) && (__FreeBSD_version >= 502114))
|
|
|
|
-#if defined(__GLIBC__) || defined(__APPLE__) || defined(__MINGW32__)
|
|
+#if defined(__GLIBC__) || defined(__APPLE__) || defined(__MINGW32__) || (defined(__FreeBSD__) && (__FreeBSD_version >= 502114))
|
|
#include <fenv.h>
|
|
#elif defined(__CYGWIN__)
|
|
#include "fenv/fenv.c"
|