- fix runtime path of DATADIR in source code

- bump PORTREVISION
This commit is contained in:
Pietro Cerutti 2011-07-07 07:18:19 +00:00
parent d3dddab162
commit 064d381b73
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=277214
2 changed files with 12 additions and 1 deletions

View file

@ -6,7 +6,7 @@
PORTNAME= gdcm
PORTVERSION= ${GDCM_MAJ}.${GDCM_MIN}
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= SF/gdcm/gdcm%202.x/GDCM%20${PORTVERSION}

View file

@ -0,0 +1,11 @@
--- Source/DataDictionary/gdcmGlobal.cxx.orig 2011-07-07 09:11:27.000000000 +0200
+++ Source/DataDictionary/gdcmGlobal.cxx 2011-07-07 09:11:56.000000000 +0200
@@ -45,7 +45,7 @@
void LoadDefaultPaths()
{
assert( RessourcePaths.empty() );
- const char filename2[] = GDCM_CMAKE_INSTALL_PREFIX "/" GDCM_INSTALL_DATA_DIR "/XML/";
+ const char filename2[] = GDCM_INSTALL_DATA_DIR "/XML/";
RessourcePaths.push_back( filename2 );
const char *curprocfn = System::GetCurrentProcessFileName();
if( curprocfn )