Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 409853 - geant data dir environment patch
Summary: geant data dir environment patch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Physics related packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 407517
  Show dependency tree
 
Reported: 2012-03-27 12:07 UTC by Benda Xu
Modified: 2012-05-19 00:50 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
geant-4.9.5-r1.patch (geant-4.9.5-r1.patch,3.54 KB, patch)
2012-03-27 12:09 UTC, Benda Xu
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Benda Xu gentoo-dev 2012-03-27 12:07:04 UTC
In geant-4.9.5, the data dir are still hard coded as environment variables.

e.g.
source/materials/src/G4IonStoppingData.cc:383:  char* path = getenv("G4LEDATA");

A patch is created to extract those data directories from geant legacy startup script.

cf. bug #360285.

by-product: deleted the script shebang to make prefix happy.

Reproducible: Always
Comment 1 Benda Xu gentoo-dev 2012-03-27 12:09:36 UTC
Created attachment 306839 [details, diff]
geant-4.9.5-r1.patch
Comment 2 Benda Xu gentoo-dev 2012-05-19 00:50:45 UTC
committed, thanks.