From 12bdd137acb36fc83b03c3e551ee57fbcf5f7412 Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Thu, 8 Oct 2015 08:25:10 +0200 Subject: [PATCH] python-numpy: fix musl --- srcpkgs/python-numpy/patches/musl.patch | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 srcpkgs/python-numpy/patches/musl.patch diff --git a/srcpkgs/python-numpy/patches/musl.patch b/srcpkgs/python-numpy/patches/musl.patch new file mode 100644 index 0000000000..c45954d391 --- /dev/null +++ b/srcpkgs/python-numpy/patches/musl.patch @@ -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 +@@ -96,6 +96,6 @@ + #endif + #undef TRIG_OK + +-#endif /* defined(__linux__) && defined(__GNUC__) */ ++#endif /* defined(__linux__) && defined(__GLIBC__) */ + + #endif