summaryrefslogtreecommitdiff
path: root/graphics/GMT/patches/patch-ai
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/GMT/patches/patch-ai')
-rw-r--r--graphics/GMT/patches/patch-ai8
1 files changed, 4 insertions, 4 deletions
diff --git a/graphics/GMT/patches/patch-ai b/graphics/GMT/patches/patch-ai
index 0dee1abccf3..e08af6cabce 100644
--- a/graphics/GMT/patches/patch-ai
+++ b/graphics/GMT/patches/patch-ai
@@ -1,4 +1,4 @@
-$NetBSD: patch-ai,v 1.2 2001/04/19 20:51:32 jtb Exp $
+$NetBSD: patch-ai,v 1.3 2001/05/19 23:46:38 jtb Exp $
--- src/pslib.c.orig Thu Apr 19 18:02:08 2001
+++ src/pslib.c
@@ -7,7 +7,7 @@ $NetBSD: patch-ai,v 1.2 2001/04/19 20:51:32 jtb Exp $
if ((image_no >= 0 && image_no < N_PATTERNS)) { /* Premade pattern yet not used */
- sprintf (file, "%s%cshare%cps_pattern_%2.2d.ras\0", PSHOME, DIR_DELIM, DIR_DELIM, image_no);
-+ sprintf (file, "%s%cshare%gmt%cps_pattern_%2.2d.ras\0", PSHOME, DIR_DELIM, DIR_DELIM, DIR_DELIM, image_no);
++ sprintf (file, "%s%cshare%cgmt%cps_pattern_%2.2d.ras\0", PSHOME, DIR_DELIM, DIR_DELIM, DIR_DELIM, image_no);
ps_pattern_status[image_no][invert] = 1;
}
else { /* User image, check to see if already used */
@@ -16,7 +16,7 @@ $NetBSD: patch-ai,v 1.2 2001/04/19 20:51:32 jtb Exp $
strcpy (file, imagefile);
else
- sprintf (file, "%s%cshare%c%s\0", PSHOME, DIR_DELIM, DIR_DELIM, imagefile);
-+ sprintf (file, "%s%cshare%gmt%c%s\0", PSHOME, DIR_DELIM, DIR_DELIM, DIR_DELIM, imagefile);
++ sprintf (file, "%s%cshare%cgmt%c%s\0", PSHOME, DIR_DELIM, DIR_DELIM, DIR_DELIM, imagefile);
}
ps_user_image[ps_n_userimages].name = (char *) ps_memory (VNULL, (size_t)(strlen (imagefile)+1), sizeof (char));
strcpy (ps_user_image[ps_n_userimages].name, imagefile);
@@ -25,7 +25,7 @@ $NetBSD: patch-ai,v 1.2 2001/04/19 20:51:32 jtb Exp $
if (PSL_first) {
- sprintf (line, "%s%cshare%cPSL_text.ps\0", PSHOME, DIR_DELIM, DIR_DELIM);
-+ sprintf (line, "%s%cshare%gmt%cPSL_text.ps\0", PSHOME, DIR_DELIM, DIR_DELIM, DIR_DELIM);
++ sprintf (line, "%s%cshare%cgmt%cPSL_text.ps\0", PSHOME, DIR_DELIM, DIR_DELIM, DIR_DELIM);
if ((fp = fopen (line, "r")) == NULL) {
fprintf (stderr, "pslib: ERROR: Cannot open file %s\n", line);