From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 97F25158083 for ; Sun, 8 Sep 2024 13:51:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AD4F7E2A22; Sun, 8 Sep 2024 13:51:35 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9473CE2A22 for ; Sun, 8 Sep 2024 13:51:35 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CC33F3430A1 for ; Sun, 8 Sep 2024 13:51:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 38BD71CC5 for ; Sun, 8 Sep 2024 13:51:33 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1725803423.8863f3f1551a8190e34e8b14797d96a1527249ce.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/vtk/files/, sci-libs/vtk/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-libs/vtk/files/vtk-9.3.0-ThirdParty-gcc15.patch sci-libs/vtk/files/vtk-9.3.0-core-octree_node.txx.patch sci-libs/vtk/vtk-9.3.0-r2.ebuild X-VCS-Directories: sci-libs/vtk/ sci-libs/vtk/files/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 8863f3f1551a8190e34e8b14797d96a1527249ce X-VCS-Branch: master Date: Sun, 8 Sep 2024 13:51:33 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 1a62e6ad-d6df-45c7-98f8-63f89d0b91e7 X-Archives-Hash: 6e22416f60a07ce050abcb0b74a96746 commit: 8863f3f1551a8190e34e8b14797d96a1527249ce Author: Paul Zander gmail com> AuthorDate: Sat Sep 7 15:23:32 2024 +0000 Commit: Sam James gentoo org> CommitDate: Sun Sep 8 13:50:23 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8863f3f1 sci-libs/vtk: fix build with GCC 15 Closes: https://bugs.gentoo.org/937734 Closes: https://bugs.gentoo.org/937735 Signed-off-by: Paul Zander gmail.com> Signed-off-by: Sam James gentoo.org> .../vtk/files/vtk-9.3.0-ThirdParty-gcc15.patch | 46 ++++++++++++++++++++++ .../vtk/files/vtk-9.3.0-core-octree_node.txx.patch | 18 +++++++++ sci-libs/vtk/vtk-9.3.0-r2.ebuild | 2 + 3 files changed, 66 insertions(+) diff --git a/sci-libs/vtk/files/vtk-9.3.0-ThirdParty-gcc15.patch b/sci-libs/vtk/files/vtk-9.3.0-ThirdParty-gcc15.patch new file mode 100644 index 000000000000..df2d6fc61167 --- /dev/null +++ b/sci-libs/vtk/files/vtk-9.3.0-ThirdParty-gcc15.patch @@ -0,0 +1,46 @@ +From d00b98bd8ef02f854f1068e8ab8fd2fb28244c3b Mon Sep 17 00:00:00 2001 +From: Ted Rodgers +Date: Sat, 10 Aug 2024 16:13:09 -0400 +Subject: [PATCH] include cstdint + correct case/words + +--- a/ThirdParty/vtkm/vtkvtkm/vtk-m/vtkm/filter/contour/worklet/mir/MIRTables.h ++++ b/ThirdParty/vtkm/vtkvtkm/vtk-m/vtkm/filter/contour/worklet/mir/MIRTables.h +@@ -11402,7 +11402,7 @@ public: + + VTKM_EXEC vtkm::UInt8 GetPoint(vtkm::Id pointIndex) const + { +- return this->CellFacePortal.Get(pointIndex); ++ return this->CellEdgesPortal.Get(pointIndex); + } + + private: +--- a/ThirdParty/vtkm/vtkvtkm/vtk-m/vtkm/filter/scalar_topology/worklet/contourtree_distributed/HierarchicalContourTree.h ++++ b/ThirdParty/vtkm/vtkvtkm/vtk-m/vtkm/filter/scalar_topology/worklet/contourtree_distributed/HierarchicalContourTree.h +@@ -663,7 +663,7 @@ std::string HierarchicalContourTree::PrintDotSuperStructure(const cha + auto hyperarcsPortal = this->Hyperarcs.ReadPortal(); + auto regularNodeGlobalIdsPortal = this->RegularNodeGlobalIds.ReadPortal(); + auto whichIterationPortal = this->WhichIteration.ReadPortal(); +- auto whichRoundPortal = this->whichRound.ReadPortal(); ++ auto whichRoundPortal = this->WhichRound.ReadPortal(); + auto superarcsPortal = this->Superarcs.ReadPortal(); + auto superparentsPortal = this->Superparents.ReadPortal(); + for (vtkm::Id supernode = 0; supernode < this->Supernodes.GetNumberOfValues(); supernode++) +@@ -708,7 +708,7 @@ std::string HierarchicalContourTree::PrintDotSuperStructure(const cha + if (contourtree_augmented::NoSuchElement(superarcTo)) + { // no superarc + // if it occurred on the final round, it's the global root and is shown as the NULL node +- if (whichRoundPortal.Get(superarcFrom) == this->NRounds) ++ if (whichRoundPortal.Get(superarcFrom) == this->NumRounds) + { // root node + outstream << "\tSN" << std::setw(1) << superarcFrom << " -> SA" << std::setw(1) << superarc + << " [label=\"S" << std::setw(1) << superarc << "\",style=dotted]\n"; +--- a/ThirdParty/vtkm/vtkvtkm/vtk-m/vtkm/thirdparty/diy/vtkmdiy/include/vtkmdiy/thirdparty/chobo/small_vector.hpp ++++ b/ThirdParty/vtkm/vtkvtkm/vtk-m/vtkm/thirdparty/diy/vtkmdiy/include/vtkmdiy/thirdparty/chobo/small_vector.hpp +@@ -136,6 +136,7 @@ + // + #pragma once + ++#include + #include + #include + #include diff --git a/sci-libs/vtk/files/vtk-9.3.0-core-octree_node.txx.patch b/sci-libs/vtk/files/vtk-9.3.0-core-octree_node.txx.patch new file mode 100644 index 000000000000..7c4d4544a490 --- /dev/null +++ b/sci-libs/vtk/files/vtk-9.3.0-core-octree_node.txx.patch @@ -0,0 +1,18 @@ +From b5f466a66771621a3aaa15434910f413ab7168f7 Mon Sep 17 00:00:00 2001 +From: Ted Rodgers +Date: Sat, 10 Aug 2024 16:10:13 -0400 +Subject: [PATCH] octree_node.txx fix chilren typo + +Signed-off-by: Paul Zander + +--- a/Utilities/octree/octree/octree_node.txx ++++ b/Utilities/octree/octree/octree_node.txx +@@ -210,7 +210,7 @@ const octree_node& octree_node::operator[](int child) co + { + throw std::domain_error("Attempt to access children of an octree leaf node."); + } +- return this->_M_chilren[child]; ++ return this->m_children[child]; + } + + /**\brief Return a reference to a child node. diff --git a/sci-libs/vtk/vtk-9.3.0-r2.ebuild b/sci-libs/vtk/vtk-9.3.0-r2.ebuild index cc7a1a438652..fa67ba0e190f 100644 --- a/sci-libs/vtk/vtk-9.3.0-r2.ebuild +++ b/sci-libs/vtk/vtk-9.3.0-r2.ebuild @@ -165,6 +165,8 @@ PATCHES=( "${FILESDIR}/${PN}-9.3.0-opencascade.patch" "${FILESDIR}/${PN}-9.3.0-fix-Java-error-with-integer-enum-overloads.patch" "${FILESDIR}/${PN}-9.3.0-ThrustPatches.patch" + "${FILESDIR}/${PN}-9.3.0-core-octree_node.txx.patch" + "${FILESDIR}/${PN}-9.3.0-ThirdParty-gcc15.patch" ) DOCS=( CONTRIBUTING.md README.md )