summaryrefslogtreecommitdiffstats
path: root/print/ggv2
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2002-02-02 19:04:39 +0000
committersobomax <sobomax@FreeBSD.org>2002-02-02 19:04:39 +0000
commitbfc14136b875085347c41346eb80d904085bddd8 (patch)
treee142ea5f76006a7b0ef4ca520fd1292b70265a64 /print/ggv2
parent6632b180cd285c4494337deef0419f2ed9d50077 (diff)
downloadFreeBSD-ports-bfc14136b875085347c41346eb80d904085bddd8.zip
FreeBSD-ports-bfc14136b875085347c41346eb80d904085bddd8.tar.gz
Fix a bug preventing from viewing pdf files.
Submitted by: Tomas Kindahl <stok@mhd.mh.se>
Diffstat (limited to 'print/ggv2')
-rw-r--r--print/ggv2/Makefile1
-rw-r--r--print/ggv2/files/patch-src::gtkgs.c11
2 files changed, 12 insertions, 0 deletions
diff --git a/print/ggv2/Makefile b/print/ggv2/Makefile
index e2555f3..f21f6b2 100644
--- a/print/ggv2/Makefile
+++ b/print/ggv2/Makefile
@@ -7,6 +7,7 @@
PORTNAME= ggv
PORTVERSION= 1.0.2
+PORTREVISION= 1
CATEGORIES= print gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= stable/sources/ggv
diff --git a/print/ggv2/files/patch-src::gtkgs.c b/print/ggv2/files/patch-src::gtkgs.c
new file mode 100644
index 0000000..85407be
--- /dev/null
+++ b/print/ggv2/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);
OpenPOWER on IntegriCloud