summaryrefslogtreecommitdiff
path: root/print/ggv/files
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2002-02-02 19:04:39 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2002-02-02 19:04:39 +0000
commit3dd518887e9c80bdb51b91b1c86754600fe4da2b (patch)
treed226946395e507e0f22ba503f8b075f41223dd73 /print/ggv/files
parent- Support for IPv6 (diff)
Fix a bug preventing from viewing pdf files.
Submitted by: Tomas Kindahl <stok@mhd.mh.se>
Notes
Notes: svn path=/head/; revision=54142
Diffstat (limited to 'print/ggv/files')
-rw-r--r--print/ggv/files/patch-src::gtkgs.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/print/ggv/files/patch-src::gtkgs.c b/print/ggv/files/patch-src::gtkgs.c
new file mode 100644
index 000000000000..85407be0e274
--- /dev/null
+++ b/print/ggv/files/patch-src::gtkgs.c
@@ -0,0 +1,11 @@
+--- src/gtkgs.c.orig Tue Oct 23 23:37:33 2001
++++ src/gtkgs.c Sat Feb 2 19:14: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);