2006-11-14 14:16:00 +01:00
|
|
|
$NetBSD: patch-ah,v 1.3 2006/11/14 13:16:00 wennmach Exp $
|
2000-11-26 23:48:12 +01:00
|
|
|
|
2006-11-14 14:16:00 +01:00
|
|
|
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 @@
|
2000-11-26 23:48:12 +01:00
|
|
|
GMT_explain_option ('V');
|
2006-11-14 14:16:00 +01:00
|
|
|
|
|
|
|
fprintf (stderr, "\n The following grdfile formats are supported:\n\n");
|
|
|
|
- GMT_getsharepath (CNULL, "gmtformats", ".d", line);
|
|
|
|
+ GMT_getsharepath ("gmt", "gmtformats", ".d", line);
|
2000-11-26 23:48:12 +01:00
|
|
|
if ((fp = fopen (line, "r")) == NULL) {
|
|
|
|
fprintf (stderr, "%s: GMT ERROR: Cannot read file %s\n", GMT_program, line);
|
|
|
|
exit (EXIT_FAILURE);
|