python-numpy: fix musl
This commit is contained in:
parent
8452ca6d11
commit
12bdd137ac
1 changed files with 19 additions and 0 deletions
19
srcpkgs/python-numpy/patches/musl.patch
Normal file
19
srcpkgs/python-numpy/patches/musl.patch
Normal file
|
@ -0,0 +1,19 @@
|
|||
--- numpy/core/src/private/npy_config.h.orig 2015-08-11 19:03:43.000000000 +0200
|
||||
+++ numpy/core/src/private/npy_config.h 2015-10-08 08:20:25.489203036 +0200
|
||||
@@ -71,7 +71,7 @@
|
||||
|
||||
|
||||
/* Disable broken gnu trig functions on linux */
|
||||
-#if defined(__linux__) && defined(__GNUC__)
|
||||
+#if defined(__linux__) && defined(__GLIBC__)
|
||||
|
||||
#if defined(HAVE_FEATURES_H)
|
||||
#include <features.h>
|
||||
@@ -96,6 +96,6 @@
|
||||
#endif
|
||||
#undef TRIG_OK
|
||||
|
||||
-#endif /* defined(__linux__) && defined(__GNUC__) */
|
||||
+#endif /* defined(__linux__) && defined(__GLIBC__) */
|
||||
|
||||
#endif
|
Loading…
Reference in a new issue