summaryrefslogtreecommitdiff
path: root/graphics/evince
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2010-07-06 00:37:54 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2010-07-06 00:37:54 +0000
commit3e596fb83cad1b0da206f76cd6a29c9797fcc7e7 (patch)
tree920330aedb308fc9b9c5d7472c6a11d59a83cda6 /graphics/evince
parentmktorrent is a simple command-line utility to create BitTorrent (diff)
Fix a segfault on startup if ~/.gnome2/evince did not already exist.
Feature safe: yes
Notes
Notes: svn path=/head/; revision=257436
Diffstat (limited to 'graphics/evince')
-rw-r--r--graphics/evince/Makefile2
-rw-r--r--graphics/evince/files/patch-shell_ev-window.c11
2 files changed, 12 insertions, 1 deletions
diff --git a/graphics/evince/Makefile b/graphics/evince/Makefile
index 35da539cf06a..c5d0ccb88d1f 100644
--- a/graphics/evince/Makefile
+++ b/graphics/evince/Makefile
@@ -8,7 +8,7 @@
PORTNAME= evince
PORTVERSION= 2.30.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= graphics print gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome2
diff --git a/graphics/evince/files/patch-shell_ev-window.c b/graphics/evince/files/patch-shell_ev-window.c
new file mode 100644
index 000000000000..0e8ddac0b4f9
--- /dev/null
+++ b/graphics/evince/files/patch-shell_ev-window.c
@@ -0,0 +1,11 @@
+--- shell/ev-window.c.orig 2010-07-05 20:36:07.000000000 -0400
++++ shell/ev-window.c 2010-07-05 20:36:10.000000000 -0400
+@@ -6107,7 +6107,7 @@ ev_window_create_last_settings_metadata
+ GFile *file;
+ gchar *path;
+
+- path = g_build_filename (ev_application_get_dot_dir (EV_APP, FALSE), "last_settings", NULL);
++ path = g_build_filename (ev_application_get_dot_dir (EV_APP, TRUE), "last_settings", NULL);
+ file = g_file_new_for_path (path);
+ g_free (path);
+