pkgsrc/graphics/GMT/patches/patch-ah
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
610 B
Text

$NetBSD: patch-ah,v 1.3 2006/11/14 13:16:00 wennmach Exp $
Adapt to pkgsrc directory infrastructure.
--- src/grdreformat.c.orig 2006-11-10 11:25:05.000000000 +0100
+++ src/grdreformat.c 2006-11-10 11:25:33.000000000 +0100
@@ -105,7 +105,7 @@
GMT_explain_option ('V');
fprintf (stderr, "\n The following grdfile formats are supported:\n\n");
- GMT_getsharepath (CNULL, "gmtformats", ".d", line);
+ GMT_getsharepath ("gmt", "gmtformats", ".d", line);
if ((fp = fopen (line, "r")) == NULL) {
fprintf (stderr, "%s: GMT ERROR: Cannot read file %s\n", GMT_program, line);
exit (EXIT_FAILURE);