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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DA2D0139335 for ; Mon, 28 Jun 2021 13:10:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0B19AE087E; Mon, 28 Jun 2021 13:10:52 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E6E66E088A for ; Mon, 28 Jun 2021 13:10:51 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9ECB733B864 for ; Mon, 28 Jun 2021 13:10:50 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0DE9D581 for ; Mon, 28 Jun 2021 13:10:49 +0000 (UTC) From: "Guilherme Amadio" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Guilherme Amadio" Message-ID: <1624885831.0c5d4e2b0e549028a9c768f9680da975d3a0864b.amadio@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-physics/geant/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-physics/geant/geant-4.11.0_beta1.ebuild sci-physics/geant/metadata.xml X-VCS-Directories: sci-physics/geant/ X-VCS-Committer: amadio X-VCS-Committer-Name: Guilherme Amadio X-VCS-Revision: 0c5d4e2b0e549028a9c768f9680da975d3a0864b X-VCS-Branch: master Date: Mon, 28 Jun 2021 13:10:49 +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: d20fc5be-7d4d-46d3-a76a-fcb0c4ed16a1 X-Archives-Hash: b23089f6199b4483a827852e88a417da commit: 0c5d4e2b0e549028a9c768f9680da975d3a0864b Author: Guilherme Amadio gentoo org> AuthorDate: Mon Jun 28 12:42:03 2021 +0000 Commit: Guilherme Amadio gentoo org> CommitDate: Mon Jun 28 13:10:31 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c5d4e2b sci-physics/geant: fix bug #799020 Closes: https://bugs.gentoo.org/799020 Fixes: c7c1d593a8afec705fde43123856ae1370ff37eb Geant4 11.0 beta only supports C++17 and above. Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Guilherme Amadio gentoo.org> sci-physics/geant/geant-4.11.0_beta1.ebuild | 8 ++++---- sci-physics/geant/metadata.xml | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/sci-physics/geant/geant-4.11.0_beta1.ebuild b/sci-physics/geant/geant-4.11.0_beta1.ebuild index 62c4b4c198c..d0b2f94a4e2 100644 --- a/sci-physics/geant/geant-4.11.0_beta1.ebuild +++ b/sci-physics/geant/geant-4.11.0_beta1.ebuild @@ -28,11 +28,11 @@ SRC_URI="https://geant4-data.web.cern.ch/geant4-data/releases/${MY_P}.tar.gz" LICENSE="geant4" SLOT="4" KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="+c++11 c++14 c++17 +data dawn doc examples freetype gdml geant3 hdf5 - inventor motif opengl qt5 raytracerx static-libs threads vrml" +IUSE="+c++17 c++20 +data dawn doc examples freetype gdml geant3 hdf5 inventor motif opengl + qt5 raytracerx static-libs threads vrml" REQUIRED_USE=" - ^^ ( c++11 c++14 c++17 ) + ^^ ( c++17 c++20 ) inventor? ( opengl ) motif? ( opengl ) qt5? ( opengl ) @@ -66,7 +66,7 @@ S="${WORKDIR}/${MY_P}" src_configure() { local mycmakeargs=( -DCMAKE_INSTALL_DATADIR="${EPREFIX}/usr/share/geant4" - -DGEANT4_BUILD_CXXSTD=$((usev c++11 || usev c++14 || usev c++17) | cut -c4-) + -DCMAKE_CXX_STANDARD=$((usev c++17 || usev c++20) | cut -c4-) -DGEANT4_BUILD_MULTITHREADED=$(usex threads) -DGEANT4_BUILD_STORE_TRAJECTORY=OFF -DGEANT4_BUILD_TLS_MODEL=$(usex threads global-dynamic initial-exec) diff --git a/sci-physics/geant/metadata.xml b/sci-physics/geant/metadata.xml index b6e9a45b039..64262edc274 100644 --- a/sci-physics/geant/metadata.xml +++ b/sci-physics/geant/metadata.xml @@ -18,6 +18,7 @@ Build using the C++11 standard Build using the C++14 standard Build using the C++17 standard + Build using the C++20 standard Add a lot of standard physics data files for geant4 Add support for media-gfx/dawn (3D postscript rendering) Add support for media-libs/freetype