From 1ec9705224201481ebf18bd2621174ba13c302c7 Mon Sep 17 00:00:00 2001 From: Daniel Martinez Date: Wed, 8 May 2024 12:51:50 -0400 Subject: [PATCH] tbb: fix tbbmalloc_proxy on musl --- srcpkgs/tbb/template | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/srcpkgs/tbb/template b/srcpkgs/tbb/template index bd797f044d7434..59e103cc3221d0 100644 --- a/srcpkgs/tbb/template +++ b/srcpkgs/tbb/template @@ -1,7 +1,7 @@ # Template file for 'tbb' pkgname=tbb version=2021.11.0 -revision=4 +revision=5 build_style=cmake configure_args="-DTBB_STRICT=OFF -DTBB_TEST=OFF" makedepends="libgomp-devel libhwloc-devel" @@ -27,13 +27,6 @@ if [ "$XBPS_TARGET_LIBC" = "musl" ]; then configure_args+=" -DCMAKE_CXX_STANDARD_LIBRARIES=-lucontext" fi -post_extract() { - if [ "$XBPS_TARGET_LIBC" = "musl" ]; then - vsed -e "s@#define MALLOC_UNIXLIKE_OVERLOAD_ENABLED __linux__@@" \ - -i src/tbbmalloc_proxy/proxy.h - fi -} - post_install() { # The Python package is installed as an egg, which is deprecated # and isn't added to the Python path, so just unpack it.