summaryrefslogtreecommitdiff
path: root/sci-physics/geant-python/files/geant-python-4.10.0-polycone.patch
diff options
context:
space:
mode:
Diffstat (limited to 'sci-physics/geant-python/files/geant-python-4.10.0-polycone.patch')
-rw-r--r--sci-physics/geant-python/files/geant-python-4.10.0-polycone.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/sci-physics/geant-python/files/geant-python-4.10.0-polycone.patch b/sci-physics/geant-python/files/geant-python-4.10.0-polycone.patch
new file mode 100644
index 00000000000..492e4700ac4
--- /dev/null
+++ b/sci-physics/geant-python/files/geant-python-4.10.0-polycone.patch
@@ -0,0 +1,15 @@
+polycone API has been changed.
+
+http://bugzilla-geant4.kek.jp/show_bug.cgi?id=1544
+Index: g4py/source/geometry/pyG4Polycone.cc
+===================================================================
+--- g4py.orig/source/geometry/pyG4Polycone.cc
++++ g4py/source/geometry/pyG4Polycone.cc
+@@ -96,7 +96,6 @@ void export_G4Polycone()
+ .def("GetStartPhi", &G4Polycone::GetStartPhi)
+ .def("GetEndPhi", &G4Polycone::GetEndPhi)
+ .def("IsOpen", &G4Polycone::IsOpen)
+- .def("IsGeneric", &G4Polycone::IsGeneric)
+ .def("GetNumRZCorner", &G4Polycone::GetNumRZCorner)
+
+ // operators