Skip to contentSkip to conversation

python-numpy: fix build failure with python-matplotlib

PATCH New Armin Kuster 1 participant 1 message May 17, 2016

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 python-numpy: fix build failure with python-matplotlib

From: Armin Kuster <[email protected]>

V2:
Add mips64 and ppc64 fixes

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

---
 meta/recipes-devtools/python/python-numpy/aarch64/_numpyconfig.h   | 1 +
 meta/recipes-devtools/python/python-numpy/mips64/_numpyconfig.h    | 1 +
 meta/recipes-devtools/python/python-numpy/powerpc64/_numpyconfig.h | 1 +
 3 files changed, 3 insertions(+)
meta/recipes-devtools/python/python-numpy/aarch64/_numpyconfig.h +1 -0
index 191e5a1..109deb0 100644
@@ -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
meta/recipes-devtools/python/python-numpy/mips64/_numpyconfig.h +1 -0
index 8e2b5d0..debb390 100644
@@ -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
meta/recipes-devtools/python/python-numpy/powerpc64/_numpyconfig.h +1 -0
index 8e2b5d0..debb390 100644
@@ -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
Signature · 1 line
2.3.5