diff options
author | sobomax <sobomax@FreeBSD.org> | 2002-02-03 03:04:39 +0800 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2002-02-03 03:04:39 +0800 |
commit | bfc14136b875085347c41346eb80d904085bddd8 (patch) | |
tree | e142ea5f76006a7b0ef4ca520fd1292b70265a64 /print/ggv2 | |
parent | 6632b180cd285c4494337deef0419f2ed9d50077 (diff) | |
download | freebsd-ports-gnome-bfc14136b875085347c41346eb80d904085bddd8.tar.gz freebsd-ports-gnome-bfc14136b875085347c41346eb80d904085bddd8.tar.zst freebsd-ports-gnome-bfc14136b875085347c41346eb80d904085bddd8.zip |
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/Makefile | 1 | ||||
-rw-r--r-- | print/ggv2/files/patch-src::gtkgs.c | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/print/ggv2/Makefile b/print/ggv2/Makefile index e2555f3e068c..f21f6b258e2c 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 000000000000..85407be0e274 --- /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); |