summaryrefslogtreecommitdiff
path: root/graphics/GMT/patches/patch-ae
blob: 299a6960b21445d5e6a9fe79f6fe0b9822a4fc20 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
$NetBSD: patch-ae,v 1.3 2006/11/14 13:16:00 wennmach Exp $

Adapt to pkgsrc directory infrastrucure.

--- src/gmt_support.c.orig	2006-11-10 11:19:57.000000000 +0100
+++ src/gmt_support.c	2006-11-10 11:20:29.000000000 +0100
@@ -6017,7 +6017,7 @@
 
 	/* Open the list in $GMTHOME/share */
 
-	GMT_getsharepath (CNULL, "GMT_CustomSymbols", ".lis", list);
+	GMT_getsharepath ("gmt", "GMT_CustomSymbols", ".lis", list);
 	if ((fp = fopen (list, "r")) == NULL) {
 		fprintf (stderr, "%s: ERROR: Cannot open file %s\n", GMT_program, list);
 		exit (EXIT_FAILURE);
@@ -7861,7 +7861,7 @@
 	struct GMT_CUSTOM_SYMBOL *head;
 	struct GMT_CUSTOM_SYMBOL_ITEM *s = NULL, *previous = NULL;
 
-	GMT_getsharepath ("custom", name, ".def", file);
+	GMT_getsharepath ("gmt/custom", name, ".def", file);
 	if ((fp = fopen (file, "r")) == NULL) {
 		fprintf (stderr, "GMT ERROR: %s : Could not find custom symbol %s\n", GMT_program, name);
 		exit (EXIT_FAILURE);