From: Armin Kuster Date: Tue, 17 May 2016 06:58:37 +0000 (-0700) Subject: python-numpy: fix build failure with python-matplotlib X-Git-Tag: uninative-1.3~1085 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=dff54b8affad38ffcd5f80308f4c3a265dc2dbae;p=openembedded-core.git python-numpy: fix build failure with python-matplotlib 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 Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-devtools/python/python-numpy/aarch64/_numpyconfig.h b/meta/recipes-devtools/python/python-numpy/aarch64/_numpyconfig.h index 191e5a19e2..109deb0435 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 diff --git a/meta/recipes-devtools/python/python-numpy/mips64/_numpyconfig.h b/meta/recipes-devtools/python/python-numpy/mips64/_numpyconfig.h index 8e2b5d0940..debb390094 100644 --- a/meta/recipes-devtools/python/python-numpy/mips64/_numpyconfig.h +++ b/meta/recipes-devtools/python/python-numpy/mips64/_numpyconfig.h @@ -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 diff --git a/meta/recipes-devtools/python/python-numpy/powerpc64/_numpyconfig.h b/meta/recipes-devtools/python/python-numpy/powerpc64/_numpyconfig.h index 8e2b5d0940..debb390094 100644 --- a/meta/recipes-devtools/python/python-numpy/powerpc64/_numpyconfig.h +++ b/meta/recipes-devtools/python/python-numpy/powerpc64/_numpyconfig.h @@ -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