pkgsrc/graphics/GMT/patches/patch-bc
wennmach 11f5afe35b Update GMT to the most recent, supported, version 4.1.4.
The most significant changes in 4.0 include:

o Time-series support
o New Tools:
	- gmt2rgb
	- grdblend
	- pslegend:
o 30 new program options
o More than 23 general enhancements

The releases 4.1 and 4.1.1 to 4.1.4 include the following changes:
o numerous significant bug fixes
o many added program options
o added features and capabilities

For a complete list of changes, see
http://gmt.soest.hawaii.edu/gmt/gmt_releases.html
2006-11-14 13:16:00 +00:00

27 lines
1.1 KiB
Text

$NetBSD: patch-bc,v 1.1 2006/11/14 13:16:00 wennmach Exp $
Adapt to pkgsrc directory structure.
--- src/gmt_shore.c.orig 2006-11-13 21:01:20.000000000 +0100
+++ src/gmt_shore.c 2006-11-13 21:04:36.000000000 +0100
@@ -957,7 +957,7 @@
/* This is the order of checking:
* 1. Is there a GMT_USERDIR with a coastline.conf in it? If so use its information
- * 2. Look in GMTHOME/share/coast
+ * 2. Look in GMTHOME/share/gmt/coast
* 3. Look in GMTHOME/share (backward check)
* 4. Look for GMTHOME/share/coastline.conf and use its information
* 5. Give up
@@ -971,9 +971,9 @@
if (found) return (TRUE);
}
- /* 2. Then check the $GMTHOME/share/coast directory */
+ /* 2. Then check the $GMTHOME/share/gmt/coast directory */
- sprintf (path, "%s%cshare%ccoast%c%s", GMTHOME, DIR_DELIM, DIR_DELIM, DIR_DELIM, name);
+ sprintf (path, "%s%cshare%cgmt%ccoast%c%s", GMTHOME, DIR_DELIM, DIR_DELIM, DIR_DELIM, DIR_DELIM, name);
if (!access (path, R_OK)) return (TRUE); /* File exists and is readable, return with name */
/* File was not readable. Now check if it exists */