[OE-core] [oe-core][master][krogoth][PATCH] python-numpy: fix build failure with python-matplotlib

Armin Kuster akuster808 at gmail.com
Mon May 16 16:17:31 UTC 2016


From: Armin Kuster <akuster at mvista.com>

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

Signed-off-by: Armin Kuster <akuster at mvista.com>
---
 meta/recipes-devtools/python/python-numpy/aarch64/_numpyconfig.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-devtools/python/python-numpy/aarch64/_numpyconfig.h b/meta/recipes-devtools/python/python-numpy/aarch64/_numpyconfig.h
index 191e5a1..109deb0 100644
--- a/meta/recipes-devtools/python/python-numpy/aarch64/_numpyconfig.h
+++ b/meta/recipes-devtools/python/python-numpy/aarch64/_numpyconfig.h
@@ -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
-- 
2.3.5




More information about the Openembedded-core mailing list