summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuilherme Amadio <amadio@gentoo.org>2024-04-08 19:49:24 +0200
committerGuilherme Amadio <amadio@gentoo.org>2024-04-08 19:57:23 +0200
commit92adce0f85a9027e5426c6578c4c31310d037c90 (patch)
tree8ae2609898195afc68f95e0bea1fbc9ba0773614 /sci-physics
parentdev-libs/editline: drop empty variable assignments (diff)
downloadgentoo-92adce0f85a9027e5426c6578c4c31310d037c90.tar.gz
gentoo-92adce0f85a9027e5426c6578c4c31310d037c90.tar.bz2
gentoo-92adce0f85a9027e5426c6578c4c31310d037c90.zip
sci-physics/geant: fix bug 928657
Closes: https://bugs.gentoo.org/928657 Signed-off-by: Guilherme Amadio <amadio@gentoo.org>
Diffstat (limited to 'sci-physics')
-rw-r--r--sci-physics/geant/files/geant-4.11.2.1-find-soxt-noversion.patch20
-rw-r--r--sci-physics/geant/geant-4.11.2.1.ebuild1
2 files changed, 21 insertions, 0 deletions
diff --git a/sci-physics/geant/files/geant-4.11.2.1-find-soxt-noversion.patch b/sci-physics/geant/files/geant-4.11.2.1-find-soxt-noversion.patch
new file mode 100644
index 000000000000..a35e184ffccb
--- /dev/null
+++ b/sci-physics/geant/files/geant-4.11.2.1-find-soxt-noversion.patch
@@ -0,0 +1,20 @@
+Remove versions from find_package(SoXt/SoWin), bug 928657.
+Patch submitted upstream.
+
+--- a/cmake/Modules/G4InterfaceOptions.cmake
++++ b/cmake/Modules/G4InterfaceOptions.cmake
+@@ -153,12 +153,12 @@ if(GEANT4_USE_INVENTOR)
+ geant4_save_package_variables(Inventor SoQt_DIR)
+ else()
+ if(UNIX)
+- find_package(SoXt 1.4.0 REQUIRED)
++ find_package(SoXt REQUIRED)
+ check_sobind_version(SoXt 1.4.0)
+ geant4_save_package_variables(Inventor SoXt_DIR)
+ set(GEANT4_USE_INVENTOR_XT ON)
+ elseif(WIN32)
+- find_package(SoWin 1.4.0 REQUIRED)
++ find_package(SoWin REQUIRED)
+ check_sobind_version(SoWin 1.4.0)
+ geant4_save_package_variables(Inventor SoWin_DIR)
+ set(GEANT4_USE_INVENTOR_WIN ON)
diff --git a/sci-physics/geant/geant-4.11.2.1.ebuild b/sci-physics/geant/geant-4.11.2.1.ebuild
index 2e384cbf7fc8..798bd3585b77 100644
--- a/sci-physics/geant/geant-4.11.2.1.ebuild
+++ b/sci-physics/geant/geant-4.11.2.1.ebuild
@@ -67,6 +67,7 @@ RDEPEND="
PATCHES=(
"${FILESDIR}"/${PN}-4.11.0.2-musl-avoid-execinfo.patch
+ "${FILESDIR}"/${PN}-4.11.2.1-find-soxt-noversion.patch
)
src_configure() {