pkgsrc/graphics/GMT/patches/patch-af
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

15 lines
562 B
Text

$NetBSD: patch-af,v 1.3 2006/11/14 13:16:00 wennmach Exp $
Adapt to pkgsrc directory infrastructure.
--- src/grd2cpt.c.orig 2006-11-10 11:23:01.000000000 +0100
+++ src/grd2cpt.c 2006-11-10 11:23:32.000000000 +0100
@@ -115,7 +115,7 @@
/* Get list of available color tables in $GMTHOME/share */
- GMT_getsharepath (CNULL, "GMT_CPT", ".lis", CPT_lis);
+ GMT_getsharepath ("gmt", "GMT_CPT", ".lis", CPT_lis);
if ((fpc = fopen (CPT_lis, "r")) == NULL) {
fprintf (stderr, "%s: ERROR: Cannot open file %s\n", GMT_program, CPT_lis);
exit (EXIT_FAILURE);