#! /bin/sh /usr/share/dpatch/dpatch-run ## path.dpatch by Francesco Paolo Lovergine ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: No description. @DPATCH@ diff -urNad gdal-grass-1.5.1~/grass57dataset.cpp gdal-grass-1.5.1/grass57dataset.cpp --- gdal-grass-1.5.1~/grass57dataset.cpp 2008-03-27 13:57:23.000000000 +0100 +++ gdal-grass-1.5.1/grass57dataset.cpp 2008-03-27 14:54:48.000000000 +0100 @@ -825,7 +825,7 @@ if ( !getenv( "GISBASE" ) ) { // we are outside a GRASS session // TODO: use function instead of hardcoded path - sprintf(fake_gisbase, "GISBASE=/usr/local/share/gdal/grass/" ); + sprintf(fake_gisbase, "GISBASE=/usr/lib/grass64/" ); putenv( fake_gisbase ); hasGisbase = false; } else {