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

24 lines
941 B
Text

$NetBSD: patch-ae,v 1.3 2006/11/14 13:16:00 wennmach Exp $
Adapt to pkgsrc directory infrastrucure.
--- src/gmt_support.c.orig 2006-11-10 11:19:57.000000000 +0100
+++ src/gmt_support.c 2006-11-10 11:20:29.000000000 +0100
@@ -6017,7 +6017,7 @@
/* Open the list in $GMTHOME/share */
- GMT_getsharepath (CNULL, "GMT_CustomSymbols", ".lis", list);
+ GMT_getsharepath ("gmt", "GMT_CustomSymbols", ".lis", list);
if ((fp = fopen (list, "r")) == NULL) {
fprintf (stderr, "%s: ERROR: Cannot open file %s\n", GMT_program, list);
exit (EXIT_FAILURE);
@@ -7861,7 +7861,7 @@
struct GMT_CUSTOM_SYMBOL *head;
struct GMT_CUSTOM_SYMBOL_ITEM *s = NULL, *previous = NULL;
- GMT_getsharepath ("custom", name, ".def", file);
+ GMT_getsharepath ("gmt/custom", name, ".def", file);
if ((fp = fopen (file, "r")) == NULL) {
fprintf (stderr, "GMT ERROR: %s : Could not find custom symbol %s\n", GMT_program, name);
exit (EXIT_FAILURE);