diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2019-08-07 20:25:22 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2019-08-07 20:25:22 +0000 |
commit | bd5ff7c1227a2319a838ee7436db75bd99179f2e (patch) | |
tree | aa85ce31f38fbe8e92f2cf43fe41225af0e4694d /community/py3-numpy/numpy-1.17.0-musl.patch | |
parent | 582a1403d093affb03380b0f585a195cb525bd35 (diff) | |
download | aports-bd5ff7c1227a2319a838ee7436db75bd99179f2e.tar.bz2 aports-bd5ff7c1227a2319a838ee7436db75bd99179f2e.tar.xz |
community/py3-numpy: upgrade to 1.17.0, removed python2
Diffstat (limited to 'community/py3-numpy/numpy-1.17.0-musl.patch')
-rw-r--r-- | community/py3-numpy/numpy-1.17.0-musl.patch | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/community/py3-numpy/numpy-1.17.0-musl.patch b/community/py3-numpy/numpy-1.17.0-musl.patch new file mode 100644 index 0000000000..16265786f8 --- /dev/null +++ b/community/py3-numpy/numpy-1.17.0-musl.patch @@ -0,0 +1,39 @@ +diff --git a/numpy/core/include/numpy/npy_endian.h b/numpy/core/include/numpy/npy_endian.h +index 44cdffd..f120094 100644 +--- a/numpy/core/include/numpy/npy_endian.h ++++ b/numpy/core/include/numpy/npy_endian.h +@@ -12,7 +12,7 @@ + #if defined(NPY_HAVE_ENDIAN_H) + #include <endian.h> + #elif defined(NPY_HAVE_SYS_ENDIAN_H) +- #include <sys/endian.h> ++ #include <bsd/sys/endian.h> + #endif + + #if defined(BYTE_ORDER) && defined(BIG_ENDIAN) && defined(LITTLE_ENDIAN) +diff --git a/numpy/core/setup.py b/numpy/core/setup.py +index 3385027..976e782 100644 +--- a/numpy/core/setup.py ++++ b/numpy/core/setup.py +@@ -290,7 +290,7 @@ def check_types(config_cmd, ext, build_dir): + if res: + private_defines.append(('HAVE_ENDIAN_H', 1)) + public_defines.append(('NPY_HAVE_ENDIAN_H', 1)) +- res = config_cmd.check_header("sys/endian.h") ++ res = config_cmd.check_header("bsd/sys/endian.h") + if res: + private_defines.append(('HAVE_SYS_ENDIAN_H', 1)) + public_defines.append(('NPY_HAVE_SYS_ENDIAN_H', 1)) +diff --git a/numpy/core/setup_common.py b/numpy/core/setup_common.py +index 307fab3..916a216 100644 +--- a/numpy/core/setup_common.py ++++ b/numpy/core/setup_common.py +@@ -120,7 +120,7 @@ OPTIONAL_HEADERS = [ + "emmintrin.h", # SSE2 + "immintrin.h", # AVX + "features.h", # for glibc version linux +- "xlocale.h", # see GH#8367 ++ "locale.h", # see GH#8367 + "dlfcn.h", # dladdr + "sys/mman.h", #madvise + ] |