diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2023-12-31 13:47:20 +0100 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2023-12-31 13:47:20 +0100 |
commit | bc307acb1ec97fb25432e3947cba9e7ff3678912 (patch) | |
tree | 791f7b341c06c991e14f2b63e7cb13fa8eaf2b01 /sci-libs/tensorpipe | |
parent | dev-python/django-registration: drop python3_9 (diff) | |
download | gentoo-bc307acb1ec97fb25432e3947cba9e7ff3678912.tar.gz gentoo-bc307acb1ec97fb25432e3947cba9e7ff3678912.tar.bz2 gentoo-bc307acb1ec97fb25432e3947cba9e7ff3678912.zip |
sci-libs/tensorpipe: musl fix
Closes: https://bugs.gentoo.org/873598
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'sci-libs/tensorpipe')
-rw-r--r-- | sci-libs/tensorpipe/files/tensorpipe-2022.05.13-musl.patch | 10 | ||||
-rw-r--r-- | sci-libs/tensorpipe/tensorpipe-2022.05.13-r1.ebuild | 5 |
2 files changed, 14 insertions, 1 deletions
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=( |