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