summaryrefslogtreecommitdiff
path: root/graphics/GMT/patches/patch-ah
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/GMT/patches/patch-ah')
-rw-r--r--graphics/GMT/patches/patch-ah13
1 files changed, 13 insertions, 0 deletions
diff --git a/graphics/GMT/patches/patch-ah b/graphics/GMT/patches/patch-ah
new file mode 100644
index 00000000000..702b4f96621
--- /dev/null
+++ b/graphics/GMT/patches/patch-ah
@@ -0,0 +1,13 @@
+$NetBSD: patch-ah,v 1.1.1.1 2000/11/26 22:48:17 jtb Exp $
+
+--- src/grdreformat.c.orig Tue Oct 24 17:24:39 2000
++++ src/grdreformat.c
+@@ -86,7 +86,7 @@
+ GMT_explain_option ('V');
+
+ fprintf (stderr, " The following formats are supported\n\n");
+- sprintf (line, "%s%cshare%cgmtformats.d\0", GMTHOME, DIR_DELIM, DIR_DELIM);
++ sprintf (line, "%s%cshare%cgmt%cgmtformats.d\0", GMTHOME, DIR_DELIM, DIR_DELIM, DIR_DELIM);
+ if ((fp = fopen (line, "r")) == NULL) {
+ fprintf (stderr, "%s: GMT ERROR: Cannot read file %s\n", GMT_program, line);
+ exit (EXIT_FAILURE);