aboutsummaryrefslogtreecommitdiff
path: root/graphics/atril
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2018-04-15 14:06:49 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2018-04-15 14:06:49 +0000
commit5971959c5a8e3b2cb42e607b0c26522eb5510658 (patch)
treeb0d5303cb42b6bf8f6b07894d49e3b62233ea6fa /graphics/atril
parent50dc6a76c862888a893ae2ca58b2a60fe00531fa (diff)
downloadports-5971959c5a8e3b2cb42e607b0c26522eb5510658.tar.gz
ports-5971959c5a8e3b2cb42e607b0c26522eb5510658.zip
Notes
Diffstat (limited to 'graphics/atril')
-rw-r--r--graphics/atril/files/patch-libview_ev-jobs.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/graphics/atril/files/patch-libview_ev-jobs.c b/graphics/atril/files/patch-libview_ev-jobs.c
new file mode 100644
index 000000000000..70a35c75bb44
--- /dev/null
+++ b/graphics/atril/files/patch-libview_ev-jobs.c
@@ -0,0 +1,20 @@
+--- libview/ev-jobs.c.orig 2018-03-22 15:13:28 UTC
++++ libview/ev-jobs.c
+@@ -876,8 +876,6 @@ snapshot_callback(WebKitWebView *webview,
+ gtk_widget_destroy (gtk_widget_get_toplevel (GTK_WIDGET (webview)));
+ }
+
+-#endif /* ENABLE_EPUB */
+-
+ static void
+ web_thumbnail_get_screenshot_cb (WebKitWebView *webview,
+ WebKitLoadEvent event,
+@@ -909,6 +907,8 @@ webview_load_failed_cb (WebKitWebView *webview,
+ gtk_widget_destroy (gtk_widget_get_toplevel (GTK_WIDGET (webview)));
+ return TRUE;
+ }
++
++#endif /* ENABLE_EPUB */
+
+ static gboolean
+ ev_job_thumbnail_run (EvJob *job)