commit:     bc307acb1ec97fb25432e3947cba9e7ff3678912
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 31 12:47:20 2023 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sun Dec 31 12:47:20 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc307acb

sci-libs/tensorpipe: musl fix

Closes: https://bugs.gentoo.org/873598
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 sci-libs/tensorpipe/files/tensorpipe-2022.05.13-musl.patch | 10 ++++++++++
 sci-libs/tensorpipe/tensorpipe-2022.05.13-r1.ebuild        |  5 ++++-
 2 files changed, 14 insertions(+), 1 deletion(-)

diff --git a/sci-libs/tensorpipe/files/tensorpipe-2022.05.13-musl.patch 
b/sci-libs/tensorpipe/files/tensorpipe-2022.05.13-musl.patch
new file mode 100644
index 000000000000..86fd4793ae5f
--- /dev/null
+++ b/sci-libs/tensorpipe/files/tensorpipe-2022.05.13-musl.patch
@@ -0,0 +1,10 @@
+--- a/tensorpipe/channel/cma/context_impl.cc   2023-12-31 13:40:35.080753311 
+0100
++++ b/tensorpipe/channel/cma/context_impl.cc   2023-12-31 13:40:44.570735997 
+0100
+@@ -8,7 +8,6 @@
+ 
+ #include <tensorpipe/channel/cma/context_impl.h>
+ 
+-#include <linux/prctl.h>
+ #include <sys/prctl.h>
+ #include <sys/syscall.h>
+ #include <sys/uio.h>

diff --git a/sci-libs/tensorpipe/tensorpipe-2022.05.13-r1.ebuild 
b/sci-libs/tensorpipe/tensorpipe-2022.05.13-r1.ebuild
index 734a2050cf07..0ff4c6216eef 100644
--- a/sci-libs/tensorpipe/tensorpipe-2022.05.13-r1.ebuild
+++ b/sci-libs/tensorpipe/tensorpipe-2022.05.13-r1.ebuild
@@ -30,7 +30,10 @@ DEPEND="${RDEPEND}
 
 S="${WORKDIR}"/${PN}-${CommitId}
 
-PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )
+PATCHES=(
+       "${FILESDIR}"/${P}-gentoo.patch
+       "${FILESDIR}"/${P}-musl.patch
+)
 
 src_configure() {
        local mycmakeargs=(

Reply via email to