diff options
author | mycroft <mycroft> | 2002-04-08 12:41:50 +0000 |
---|---|---|
committer | mycroft <mycroft> | 2002-04-08 12:41:50 +0000 |
commit | e8646f66e49ff716c3fd4b60af4fa8c4991210ca (patch) | |
tree | 5cf296061b55ff58ef99273233b389b001716079 /print/ggv | |
parent | 1b8667e6bfe48a4a530d36b44b96659ec19307bc (diff) | |
download | pkgsrc-e8646f66e49ff716c3fd4b60af4fa8c4991210ca.tar.gz |
Fix a remarkably obvious bug introduced in 1.0.2 that prevented PDF files from
loading.
Diffstat (limited to 'print/ggv')
-rw-r--r-- | print/ggv/distinfo | 3 | ||||
-rw-r--r-- | print/ggv/patches/patch-aa | 13 |
2 files changed, 15 insertions, 1 deletions
diff --git a/print/ggv/distinfo b/print/ggv/distinfo index c60134cca6e..9f5c9ec0217 100644 --- a/print/ggv/distinfo +++ b/print/ggv/distinfo @@ -1,4 +1,5 @@ -$NetBSD: distinfo,v 1.4 2002/03/23 06:43:54 uebayasi Exp $ +$NetBSD: distinfo,v 1.5 2002/04/08 12:41:50 mycroft Exp $ SHA1 (ggv-1.0.2.tar.gz) = 5c26425e7591e2ad24a31c17104f8f5018afe877 Size (ggv-1.0.2.tar.gz) = 610873 bytes +SHA1 (patch-aa) = 23c8583e03650119609d8a420e71fb3a34a3cb34 diff --git a/print/ggv/patches/patch-aa b/print/ggv/patches/patch-aa new file mode 100644 index 00000000000..e314e48d873 --- /dev/null +++ b/print/ggv/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.6 2002/04/08 12:41:51 mycroft Exp $ + +--- src/gtkgs.c.orig Mon Apr 8 06:16:38 2002 ++++ src/gtkgs.c Mon Apr 8 06:16:29 2002 +@@ -1273,7 +1273,7 @@ + fname = ggv_quote_filename (filename); + filename_dsc = tempnam (g_get_tmp_dir(), "dsc"); + filename_err = tempnam (g_get_tmp_dir(), "err"); +- cmd = g_strdup_printf (gs_scan_pdf_cmd, "\"", fname ,"\"", "\", filename_dsc"); ++ cmd = g_strdup_printf (gs_scan_pdf_cmd, fname, filename_dsc); + g_free (fname); + /* this command (sometimes?) prints error messages to stdout! */ + cmdline = g_strdup_printf ("%s >%s 2>&1", cmd, filename_err); |