diff options
author | wennmach <wennmach> | 2006-11-14 13:16:00 +0000 |
---|---|---|
committer | wennmach <wennmach> | 2006-11-14 13:16:00 +0000 |
commit | 9396d6a444c1edd689ad05e552358c32dddfbc5b (patch) | |
tree | a15741855d7fe46797534bd85d5e79caa4d813c3 /graphics/GMT/patches/patch-af | |
parent | 780636286aaf4409eb42fc8db1b8805623a33a87 (diff) | |
download | pkgsrc-9396d6a444c1edd689ad05e552358c32dddfbc5b.tar.gz |
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
Diffstat (limited to 'graphics/GMT/patches/patch-af')
-rw-r--r-- | graphics/GMT/patches/patch-af | 30 |
1 files changed, 10 insertions, 20 deletions
diff --git a/graphics/GMT/patches/patch-af b/graphics/GMT/patches/patch-af index 4494b3fd0cb..b9968216777 100644 --- a/graphics/GMT/patches/patch-af +++ b/graphics/GMT/patches/patch-af @@ -1,25 +1,15 @@ -$NetBSD: patch-af,v 1.2 2001/04/19 20:51:31 jtb Exp $ +$NetBSD: patch-af,v 1.3 2006/11/14 13:16:00 wennmach Exp $ ---- src/grd2cpt.c.orig Thu Apr 19 18:02:09 2001 -+++ src/grd2cpt.c -@@ -64,7 +64,7 @@ - - /* Get list of available color tables in GMT /share */ +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 @@ -- sprintf (CPT_lis, "%s%cshare%cGMT_CPT.lis\0", GMTHOME, DIR_DELIM, DIR_DELIM); -+ sprintf (CPT_lis, "%s%cshare%cgmt%cGMT_CPT.lis\0", GMTHOME, DIR_DELIM, DIR_DELIM, DIR_DELIM); + /* 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); -@@ -180,9 +180,9 @@ - - if (!ok) { /* No table in current dir, try /share */ - if (table) -- sprintf (CPT_file, "%s%cshare%cGMT_%s.cpt\0", GMTHOME, DIR_DELIM, DIR_DELIM, table); -+ sprintf (CPT_file, "%s%cshare%cgmt%cGMT_%s.cpt\0", GMTHOME, DIR_DELIM, DIR_DELIM, DIR_DELIM, table); - else /* Default to rainbow colors */ -- sprintf (CPT_file, "%s%cshare%cGMT_rainbow.cpt\0", GMTHOME, DIR_DELIM, DIR_DELIM); -+ sprintf (CPT_file, "%s%cshare%cgmt%cGMT_rainbow.cpt\0", GMTHOME, DIR_DELIM, DIR_DELIM, DIR_DELIM); - - if (access (CPT_file, R_OK)) { - fprintf (stderr, "%s: ERROR: Cannot find colortable %s\n", GMT_program, CPT_file); + exit (EXIT_FAILURE); |