commit:     e734e6b99cc2405a1afea8bb036230d2b13d6ed1
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Fri Sep  6 20:02:28 2024 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Fri Sep  6 20:03:39 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e734e6b9

sci-libs/tensorpipe: gcc-15

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

 sci-libs/tensorpipe/files/tensorpipe-2022.05.13-gcc15.patch | 10 ++++++++++
 sci-libs/tensorpipe/tensorpipe-2022.05.13-r1.ebuild         |  7 ++++---
 2 files changed, 14 insertions(+), 3 deletions(-)

diff --git a/sci-libs/tensorpipe/files/tensorpipe-2022.05.13-gcc15.patch 
b/sci-libs/tensorpipe/files/tensorpipe-2022.05.13-gcc15.patch
new file mode 100644
index 000000000000..e22dfbe5025b
--- /dev/null
+++ b/sci-libs/tensorpipe/files/tensorpipe-2022.05.13-gcc15.patch
@@ -0,0 +1,10 @@
+--- a/tensorpipe/common/allocator.h    2024-09-06 21:57:32.806149494 +0200
++++ b/tensorpipe/common/allocator.h    2024-09-06 21:57:54.018918083 +0200
+@@ -13,6 +13,7 @@
+ #include <functional>
+ #include <memory>
+ #include <vector>
++#include <cstdint>
+ 
+ #include <tensorpipe/common/error.h>
+ 

diff --git a/sci-libs/tensorpipe/tensorpipe-2022.05.13-r1.ebuild 
b/sci-libs/tensorpipe/tensorpipe-2022.05.13-r1.ebuild
index 0ff4c6216eef..7783066e9de0 100644
--- a/sci-libs/tensorpipe/tensorpipe-2022.05.13-r1.ebuild
+++ b/sci-libs/tensorpipe/tensorpipe-2022.05.13-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2022-2023 Gentoo Authors
+# Copyright 2022-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -12,6 +12,8 @@ HOMEPAGE="https://github.com/pytorch/tensorpipe/";
 SRC_URI="https://github.com/pytorch/${PN}/archive/${CommitId}.tar.gz
        -> ${P}.tar.gz"
 
+S="${WORKDIR}"/${PN}-${CommitId}
+
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~amd64"
@@ -28,11 +30,10 @@ DEPEND="${RDEPEND}
        dev-libs/libnop
 "
 
-S="${WORKDIR}"/${PN}-${CommitId}
-
 PATCHES=(
        "${FILESDIR}"/${P}-gentoo.patch
        "${FILESDIR}"/${P}-musl.patch
+       "${FILESDIR}"/${P}-gcc15.patch
 )
 
 src_configure() {

Reply via email to