summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger <m.mairkeimberger@gmail.com>2017-08-20 14:59:10 +0200
committerMichael Palimaka <kensington@gentoo.org>2017-09-03 00:35:44 +1000
commit22ba0cc48b625e4b886f73d784e582653a687e9d (patch)
tree7a76c48448ed99b96454d405f80656172fc8d9f9 /sci-physics
parentsci-physics/espresso: remove unused patch (diff)
downloadgentoo-22ba0cc48b625e4b886f73d784e582653a687e9d.tar.gz
gentoo-22ba0cc48b625e4b886f73d784e582653a687e9d.tar.bz2
gentoo-22ba0cc48b625e4b886f73d784e582653a687e9d.zip
sci-physics/geant: remove unused patches
Diffstat (limited to 'sci-physics')
-rw-r--r--sci-physics/geant/files/geant-4.9.4-datadir.patch43
-rw-r--r--sci-physics/geant/files/geant-4.9.4-libdir.patch35
-rw-r--r--sci-physics/geant/files/geant-4.9.4-trajectory.patch11
3 files changed, 0 insertions, 89 deletions
diff --git a/sci-physics/geant/files/geant-4.9.4-datadir.patch b/sci-physics/geant/files/geant-4.9.4-datadir.patch
deleted file mode 100644
index c691d90e8ce4..000000000000
--- a/sci-physics/geant/files/geant-4.9.4-datadir.patch
+++ /dev/null
@@ -1,43 +0,0 @@
---- cmake/Modules/Geant4ToolchainBackwardCompatibility.cmake.orig 2011-01-22 00:49:11.096082056 +0000
-+++ cmake/Modules/Geant4ToolchainBackwardCompatibility.cmake 2011-01-22 00:53:04.746078920 +0000
-@@ -74,9 +74,9 @@
- # Construct backward compatible variables
- #
- set(G4SYSTEM "${GEANT4_SYSTEM}-${GEANT4_COMPILER}")
--set(G4INSTALL ${GEANT4_DATADIR}/geant4-${geant4_VERSION})
-+set(G4INSTALL ${GEANT4_DATADIR}/geant4)
- set(G4INCLUDE ${GEANT4_INCLUDEDIR}/geant4)
--set(G4LIB ${GEANT4_LIBDIR}/geant4-${geant4_VERSION})
-+set(G4LIB ${GEANT4_LIBDIR}/geant4)
-
- message(STATUS "Geant4 backwards compatible variable G4SYSTEM : ${G4SYSTEM}")
- message(STATUS "Geant4 backwards compatible variable G4INSTALL: ${G4INSTALL}")
-@@ -125,7 +125,7 @@
- # Install targets
- # toolchain
- install(DIRECTORY config
-- DESTINATION ${GEANT4_DATAROOTDIR}/geant4-${geant4_VERSION}
-+ DESTINATION ${GEANT4_DATAROOTDIR}/geant4
- FILES_MATCHING PATTERN "*.gmk"
- PATTERN "CVS" EXCLUDE
- PATTERN "scripts/" EXCLUDE)
-@@ -134,16 +134,16 @@
- install(FILES
- ${CMAKE_BINARY_DIR}/outputs/runtime/geant4-${geant4_VERSION}.sh
- ${CMAKE_BINARY_DIR}/outputs/runtime/geant4-${geant4_VERSION}.csh
-- DESTINATION ${GEANT4_DATAROOTDIR}/geant4-${geant4_VERSION}/config
-+ DESTINATION ${GEANT4_DATAROOTDIR}/geant4/config
- PERMISSIONS
- OWNER_READ OWNER_WRITE OWNER_EXECUTE
- GROUP_READ GROUP_EXECUTE
- WORLD_READ WORLD_EXECUTE)
-
- # compatibility softlink to library directory
-- install(CODE "execute_process(COMMAND \${CMAKE_COMMAND} -E make_directory \$ENV{DESTDIR}${GEANT4_LIBDIR}/geant4-${geant4_VERSION})")
-+ install(CODE "execute_process(COMMAND \${CMAKE_COMMAND} -E make_directory \$ENV{DESTDIR}${GEANT4_LIBDIR}/geant4)")
-
-- install(CODE "execute_process(COMMAND \${CMAKE_COMMAND} -E create_symlink .. ${GEANT4_SYSTEM}-${GEANT4_COMPILER} WORKING_DIRECTORY \$ENV{DESTDIR}${GEANT4_LIBDIR}/geant4-${geant4_VERSION})")
-+ install(CODE "execute_process(COMMAND \${CMAKE_COMMAND} -E create_symlink .. ${GEANT4_SYSTEM}-${GEANT4_COMPILER} WORKING_DIRECTORY \$ENV{DESTDIR}${GEANT4_LIBDIR}/geant4)")
-
- endif()
-
diff --git a/sci-physics/geant/files/geant-4.9.4-libdir.patch b/sci-physics/geant/files/geant-4.9.4-libdir.patch
deleted file mode 100644
index 8934f73acfe9..000000000000
--- a/sci-physics/geant/files/geant-4.9.4-libdir.patch
+++ /dev/null
@@ -1,35 +0,0 @@
---- CMakeLists.txt.orig 2011-01-17 06:25:14.536078940 +0000
-+++ CMakeLists.txt 2011-01-21 23:50:53.406082074 +0000
-@@ -195,7 +195,7 @@
- set(GEANT4_PREFIX ${CMAKE_INSTALL_PREFIX})
- set(GEANT4_EXEC_PREFIX ${GEANT4_PREFIX})
- set(GEANT4_BINDIR ${GEANT4_EXEC_PREFIX}/bin)
--set(GEANT4_LIBDIR ${GEANT4_PREFIX}/lib)
-+set(GEANT4_LIBDIR ${GEANT4_PREFIX}/lib${LIB_SUFFIX})
- set(GEANT4_DATAROOTDIR ${GEANT4_PREFIX}/share)
- set(GEANT4_DATADIR ${GEANT4_DATAROOTDIR})
- set(GEANT4_INCLUDEDIR ${GEANT4_PREFIX}/include)
---- cmake/Modules/Geant4MacroLibraryTargets.cmake.orig 2011-01-21 23:36:09.356079013 +0000
-+++ cmake/Modules/Geant4MacroLibraryTargets.cmake 2011-01-21 23:49:49.826082339 +0000
-@@ -35,8 +35,8 @@
- # NEEDS WORK TO REMOVE HARDCODED LIB/BIN DIR
- install(TARGETS ${G4LIBTARGET_NAME}
- RUNTIME DESTINATION bin
-- LIBRARY DESTINATION lib
-- ARCHIVE DESTINATION lib)
-+ LIBRARY DESTINATION lib${LIB_SUFFIX}
-+ ARCHIVE DESTINATION lib${LIB_SUFFIX})
- endif()
-
- #
-@@ -59,8 +59,8 @@
-
- install(TARGETS ${G4LIBTARGET_NAME}-static
- RUNTIME DESTINATION bin
-- LIBRARY DESTINATION lib
-- ARCHIVE DESTINATION lib)
-+ LIBRARY DESTINATION lib${LIB_SUFFIX}
-+ ARCHIVE DESTINATION lib${LIB_SUFFIX})
- endif()
- ENDMACRO()
-
diff --git a/sci-physics/geant/files/geant-4.9.4-trajectory.patch b/sci-physics/geant/files/geant-4.9.4-trajectory.patch
deleted file mode 100644
index df45ae234e50..000000000000
--- a/sci-physics/geant/files/geant-4.9.4-trajectory.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- CMakeLists.txt.orig 2011-04-28 01:19:54.232041312 +0200
-+++ CMakeLists.txt 2011-04-28 01:15:11.434101391 +0200
-@@ -43,6 +43,8 @@
- set(${PROJECT_NAME}_VERSION_MINOR "4")
- set(${PROJECT_NAME}_VERSION_PATCH "1")
-
-+add_definitions(-DG4_STORE_TRAJECTORY)
-+
- #------------------------------------------------------------------------------
- # Set up path to internal set of CMake modules.
- #