diff options
author | Tijl Coosemans <tijl@FreeBSD.org> | 2018-04-15 14:06:49 +0000 |
---|---|---|
committer | Tijl Coosemans <tijl@FreeBSD.org> | 2018-04-15 14:06:49 +0000 |
commit | 5971959c5a8e3b2cb42e607b0c26522eb5510658 (patch) | |
tree | b0d5303cb42b6bf8f6b07894d49e3b62233ea6fa | |
parent | - Install font files to ${FONTSDIR} instead of ${DATADIR}. (diff) |
Fix build with EPUB option disabled.
-rw-r--r-- | graphics/atril/files/patch-libview_ev-jobs.c | 20 |
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) |