Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(705)

Side by Side Diff: dev-python/numpy/files/numpy-1.3.0-fenv-freebsd.patch

Issue 661443: Fixes so that libcros can compile on ARM. We update to a newer version of (Closed)
Patch Set: Created 10 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 --- numpy/core/include/numpy/ufuncobject.h.orig 2009-07-28 15:04:42 -0400
2 +++ numpy/core/include/numpy/ufuncobject.h 2009-07-28 15:05:58 -0400
3 @@ -318,8 +318,10 @@
4
5 #elif defined(__GLIBC__) || defined(__APPLE__) || defined(__CYGWIN__) || define d(__MINGW32__) || (defined(__FreeBSD__) && (__FreeBSD_version >= 502114))
6
7 -#if defined(__GLIBC__) || defined(__APPLE__) || defined(__MINGW32__) || defined (__FreeBSD__)
8 +#if defined(__GLIBC__) || defined(__APPLE__) || defined(__MINGW32__)
9 #include <fenv.h>
10 +#elif defined(__FreeBSD__)
11 +#include "fenv/fenv.h"
12 #elif defined(__CYGWIN__)
13 #include "fenv/fenv.c"
14 #endif
15 --- numpy/numarray/_capi.c.orig 2009-07-28 15:18:13 -0400
16 +++ numpy/numarray/_capi.c 2009-07-28 15:19:04 -0400
17 @@ -8,8 +8,10 @@
18 #include <sys/param.h>
19 #endif
20
21 -#if defined(__GLIBC__) || defined(__APPLE__) || defined(__MINGW32__) || (define d(__FreeBSD__) && (__FreeBSD_version >= 502114))
22 +#if defined(__GLIBC__) || defined(__APPLE__) || defined(__MINGW32__)
23 #include <fenv.h>
24 +#elif (defined(__FreeBSD__) && (__FreeBSD_version >= 502114))
25 +#include "numpy/fenv/fenv.h"
26 #elif defined(__CYGWIN__)
27 #include "numpy/fenv/fenv.h"
28 #include "numpy/fenv/fenv.c"
OLDNEW
« no previous file with comments | « dev-python/numpy/files/numpy-1.1.0-f2py.patch ('k') | dev-python/numpy/files/numpy-1.4.0-interix.patch » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698