diff options
author | 2012-05-20 03:11:24 +0000 | |
---|---|---|
committer | 2012-05-20 03:11:24 +0000 | |
commit | eba77357cb0ff764ce721f82fe9a1a83a6153341 (patch) | |
tree | 3202118ea53e529b19e1bbc9b2b25d9e1a1f738d /sci-physics/geant-python/files | |
parent | Version bump. (diff) | |
download | gentoo-2-eba77357cb0ff764ce721f82fe9a1a83a6153341.tar.gz gentoo-2-eba77357cb0ff764ce721f82fe9a1a83a6153341.tar.bz2 gentoo-2-eba77357cb0ff764ce721f82fe9a1a83a6153341.zip |
initial commit
(Portage version: 2.1.10.57/cvs/Linux x86_64)
Diffstat (limited to 'sci-physics/geant-python/files')
-rw-r--r-- | sci-physics/geant-python/files/geant-python-4.9.5-build.patch | 39 | ||||
-rw-r--r-- | sci-physics/geant-python/files/geant-python-4.9.5-visverbose.patch | 13 |
2 files changed, 52 insertions, 0 deletions
diff --git a/sci-physics/geant-python/files/geant-python-4.9.5-build.patch b/sci-physics/geant-python/files/geant-python-4.9.5-build.patch new file mode 100644 index 000000000000..94f5dd260804 --- /dev/null +++ b/sci-physics/geant-python/files/geant-python-4.9.5-build.patch @@ -0,0 +1,39 @@ +make configure respect --with-python-incdir +reported upstream at http://bugzilla-geant4.kek.jp/show_bug.cgi?id=1316 +diff --git a/configure b/configure +index 2d755b1..3db111f 100755 +--- a/configure ++++ b/configure +@@ -330,18 +330,21 @@ echo "lib${clhep_lib}.${shlib}" + # --- + echo $ac_n "Checking for Python include dir (pyconfig.h) ... $ac_c" + # check version +-if [ $with_python3 = 0 ]; then +- set python python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 +-else +- set python3.1 python3.0 ++if [ ! -d "$python_incdir" ] ++then ++ if [ $with_python3 = 0 ]; then ++ set python python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 ++ else ++ set python3.1 python3.0 ++ fi ++ for aincdir in $* ++ do ++ if [ -d /usr/include/"$aincdir" ]; then ++ python_incdir=/usr/include/$aincdir ++ break ++ fi ++ done + fi +-for aincdir in $* +-do +- if [ -d /usr/include/"$aincdir" ]; then +- python_incdir=/usr/include/$aincdir +- break +- fi +-done + + if [ ! -f "$python_incdir"/pyconfig.h ]; then + echo "no" diff --git a/sci-physics/geant-python/files/geant-python-4.9.5-visverbose.patch b/sci-physics/geant-python/files/geant-python-4.9.5-visverbose.patch new file mode 100644 index 000000000000..0508f28b6fa6 --- /dev/null +++ b/sci-physics/geant-python/files/geant-python-4.9.5-visverbose.patch @@ -0,0 +1,13 @@ +diff --git a/source/visualization/pyG4VisManager.cc b/source/visualization/pyG4VisManager.cc +index 33bb0d4..00f86a5 100644 +--- a/source/visualization/pyG4VisManager.cc ++++ b/source/visualization/pyG4VisManager.cc +@@ -41,7 +41,7 @@ using namespace boost::python; + // ==================================================================== + class PyG4VisManager : public G4VisManager { + public: +- PyG4VisManager() { SetVerboseLevel(quiet); } ++ PyG4VisManager() { SetVerboseLevel(all); } + ~PyG4VisManager() { } + + virtual void RegisterGraphicsSystems() { } |