diff options
-rw-r--r-- | sci-physics/geant/files/geant-4.11.2.1-find-soxt-noversion.patch | 20 | ||||
-rw-r--r-- | sci-physics/geant/geant-4.11.2.1.ebuild | 1 |
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() { |