]> code.ossystems Code Review - openembedded-core.git/commitdiff
python-numpy: fix build failure with python-matplotlib
authorArmin Kuster <akuster@mvista.com>
Tue, 17 May 2016 06:58:37 +0000 (23:58 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 19 May 2016 07:39:25 +0000 (08:39 +0100)
Fix for aarch64, mips64 and ppc64

numpy/core/include/numpy/npy_common.h:149:10: error:
|          #error Unsupported size for type off_t

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/python/python-numpy/aarch64/_numpyconfig.h
meta/recipes-devtools/python/python-numpy/mips64/_numpyconfig.h
meta/recipes-devtools/python/python-numpy/powerpc64/_numpyconfig.h

index 191e5a19e2ba9ea8194729f41f8f24775e48b9b6..109deb04350eb9253755c795df8748d53fee5010 100644 (file)
@@ -11,6 +11,7 @@
 #define NPY_SIZEOF_PY_INTPTR_T 8
 #define NPY_SIZEOF_PY_LONG_LONG 8
 #define NPY_SIZEOF_LONGLONG 8
+#define NPY_SIZEOF_OFF_T 8
 #define NPY_NO_SMP 0
 #define NPY_HAVE_DECL_ISNAN
 #define NPY_HAVE_DECL_ISINF
index 8e2b5d09408f6ef9272fdcfc6606781d811208c3..debb39009459276cb6948659b7af2ab2f60b793b 100644 (file)
@@ -12,6 +12,7 @@
 #define NPY_SIZEOF_PY_INTPTR_T 8
 #define NPY_SIZEOF_PY_LONG_LONG 8
 #define NPY_SIZEOF_LONGLONG 8
+#define NPY_SIZEOF_OFF_T 8
 #define NPY_NO_SMP 0
 #define NPY_HAVE_DECL_ISNAN
 #define NPY_HAVE_DECL_ISINF
index 8e2b5d09408f6ef9272fdcfc6606781d811208c3..debb39009459276cb6948659b7af2ab2f60b793b 100644 (file)
@@ -12,6 +12,7 @@
 #define NPY_SIZEOF_PY_INTPTR_T 8
 #define NPY_SIZEOF_PY_LONG_LONG 8
 #define NPY_SIZEOF_LONGLONG 8
+#define NPY_SIZEOF_OFF_T 8
 #define NPY_NO_SMP 0
 #define NPY_HAVE_DECL_ISNAN
 #define NPY_HAVE_DECL_ISINF