diff options
| author | Leo <thinkabit.ukim@gmail.com> | 2020-04-05 19:18:07 -0300 |
|---|---|---|
| committer | Leo <thinkabit.ukim@gmail.com> | 2020-04-06 06:48:02 +0000 |
| commit | eba9480dbed31d77ef0f2167e13ab17d2d0ba0ae (patch) | |
| tree | ae1a511d6270a65269a18a0db99b7d95d2874286 /testing/libtbb/musl.patch | |
| parent | 5d0072d521d22f7738395c4a39cec82a94a7cb9c (diff) | |
| download | aports-eba9480dbed31d77ef0f2167e13ab17d2d0ba0ae.tar.bz2 aports-eba9480dbed31d77ef0f2167e13ab17d2d0ba0ae.tar.xz | |
testing/libtbb: upgrade to 2020.2
Diffstat (limited to 'testing/libtbb/musl.patch')
| -rw-r--r-- | testing/libtbb/musl.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/testing/libtbb/musl.patch b/testing/libtbb/musl.patch new file mode 100644 index 0000000000..92309a7cf2 --- /dev/null +++ b/testing/libtbb/musl.patch @@ -0,0 +1,18 @@ +--- a/src/tbbmalloc/proxy.cpp.orig 2018-10-17 14:05:31.311723013 +0200 ++++ b/src/tbbmalloc/proxy.cpp 2018-10-17 14:06:32.972726194 +0200 +@@ -28,6 +28,7 @@ + // of aligned_alloc as required by new C++ standard, this makes it hard to + // redefine aligned_alloc here. However, running on systems with new libc + // version, it still needs it to be redefined, thus tricking system headers ++#if defined(__GLIBC__) + #if defined(__GLIBC_PREREQ) && !__GLIBC_PREREQ(2, 16) && _GLIBCXX_HAVE_ALIGNED_ALLOC + // tell <cstdlib> that there is no aligned_alloc + #undef _GLIBCXX_HAVE_ALIGNED_ALLOC +@@ -37,6 +38,7 @@ + #include <cstdlib> + #undef aligned_alloc + #endif // defined(__GLIBC_PREREQ)&&!__GLIBC_PREREQ(2, 16)&&_GLIBCXX_HAVE_ALIGNED_ALLOC ++#endif // defined(__GLIBC__) + #endif // __linux__ && !__ANDROID__ + + #include "proxy.h" |
