diff options
Diffstat (limited to 'sci-physics/geant-vmc/files/geant-vmc-4.4.0-fix-cflags.patch')
-rw-r--r-- | sci-physics/geant-vmc/files/geant-vmc-4.4.0-fix-cflags.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/sci-physics/geant-vmc/files/geant-vmc-4.4.0-fix-cflags.patch b/sci-physics/geant-vmc/files/geant-vmc-4.4.0-fix-cflags.patch new file mode 100644 index 000000000000..d3bf0dfdd308 --- /dev/null +++ b/sci-physics/geant-vmc/files/geant-vmc-4.4.0-fix-cflags.patch @@ -0,0 +1,15 @@ +diff --git a/g4root/test/OpNovice/CMakeLists.txt b/g4root/test/OpNovice/CMakeLists.txt +index 1a8f316c..a2e144b6 100644 +--- a/g4root/test/OpNovice/CMakeLists.txt ++++ b/g4root/test/OpNovice/CMakeLists.txt +@@ -44,7 +44,9 @@ endif() + #---------------------------------------------------------------------------- + # Setup Geant4 include directories and compile definitions + # +-include(${Geant4_USE_FILE}) ++# Workaround for upstream bug: http://bugzilla-geant4.kek.jp/show_bug.cgi?id=1663 ++#include(${Geant4_USE_FILE}) ++include(UseGeant4) + + #---------------------------------------------------------------------------- + # Locate sources and headers for this project |