Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 136564 Details for
Bug 199825
Please keyword dev-python/numpy
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
files/numpy-1.0.4-freebsd.patch
numpy-1.0.4-freebsd.patch (text/plain), 2.40 KB, created by
Joe Peterson (RETIRED)
on 2007-11-21 00:17:32 UTC
(
hide
)
Description:
files/numpy-1.0.4-freebsd.patch
Filename:
MIME Type:
Creator:
Joe Peterson (RETIRED)
Created:
2007-11-21 00:17:32 UTC
Size:
2.40 KB
patch
obsolete
>diff -Nur numpy-1.0.4.old/numpy/core/include/numpy/ufuncobject.h numpy-1.0.4/numpy/core/include/numpy/ufuncobject.h >--- numpy-1.0.4.old/numpy/core/include/numpy/ufuncobject.h 2007-11-07 15:05:15 -0700 >+++ numpy-1.0.4/numpy/core/include/numpy/ufuncobject.h 2007-11-20 17:00:16 -0700 >@@ -267,7 +267,7 @@ > /* Solaris --------------------------------------------------------*/ > /* --------ignoring SunOS ieee_flags approach, someone else can > ** deal with that! */ >-#elif defined(sun) || defined(__BSD__) || defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__NetBSD__) >+#elif defined(sun) || defined(__BSD__) || defined(__OpenBSD__) || defined(__NetBSD__) > #include <ieeefp.h> > > #define UFUNC_CHECK_STATUS(ret) { \ >@@ -281,9 +281,9 @@ > (void) fpsetsticky(0); \ > } > >-#elif defined(__GLIBC__) || defined(__APPLE__) || defined(__CYGWIN__) || defined(__MINGW32__) >+#elif defined(__GLIBC__) || defined(__APPLE__) || defined(__FreeBSD__) || defined(__CYGWIN__) || defined(__MINGW32__) > >-#if defined(__GLIBC__) || defined(__APPLE__) || defined(__MINGW32__) >+#if defined(__GLIBC__) || defined(__APPLE__) || defined(__FreeBSD__) || defined(__MINGW32__) > #include <fenv.h> > #elif defined(__CYGWIN__) > #include "fenv/fenv.c" >diff -Nur numpy-1.0.4.old/numpy/numarray/_capi.c numpy-1.0.4/numpy/numarray/_capi.c >--- numpy-1.0.4.old/numpy/numarray/_capi.c 2007-11-07 15:05:16 -0700 >+++ numpy-1.0.4/numpy/numarray/_capi.c 2007-11-20 17:01:43 -0700 >@@ -4,7 +4,7 @@ > #include "numpy/libnumarray.h" > #include <float.h> > >-#if defined(__GLIBC__) || defined(__APPLE__) || defined(__MINGW32__) >+#if defined(__GLIBC__) || defined(__APPLE__) || defined(__FreeBSD__) || defined(__MINGW32__) > #include <fenv.h> > #elif defined(__CYGWIN__) > #include "numpy/fenv/fenv.h" >@@ -231,7 +231,7 @@ > } > > /* Likewise for Integer overflows */ >-#if defined(__GLIBC__) || defined(__APPLE__) || defined(__CYGWIN__) || defined(__MINGW32__) >+#if defined(__GLIBC__) || defined(__APPLE__) || defined(__FreeBSD__) || defined(__CYGWIN__) || defined(__MINGW32__) > static int int_overflow_error(Float64 value) { /* For x86_64 */ > feraiseexcept(FE_OVERFLOW); > return (int) value; >@@ -2939,7 +2939,7 @@ > return retstatus; > } > >-#elif defined(__GLIBC__) || defined(__APPLE__) || defined(__CYGWIN__) || defined(__MINGW32__) >+#elif defined(__GLIBC__) || defined(__APPLE__) || defined(__FreeBSD__) || defined(__CYGWIN__) || defined(__MINGW32__) > > static int > NA_checkFPErrors(void)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 199825
:
136564
|
136567