16 lines
561 B
Plaintext
16 lines
561 B
Plaintext
$NetBSD: patch-ag,v 1.3 2006/11/14 13:16:00 wennmach Exp $
|
|
|
|
Adapt to pkgsrc directory infrastructure.
|
|
|
|
--- src/makecpt.c.orig 2006-11-10 12:10:37.000000000 +0100
|
|
+++ src/makecpt.c 2006-11-10 12:11:11.000000000 +0100
|
|
@@ -83,7 +83,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);
|