svn commit: r467395 - head/graphics/atril/files

Tijl Coosemans tijl at FreeBSD.org
Sun Apr 15 14:06:50 UTC 2018


Author: tijl
Date: Sun Apr 15 14:06:49 2018
New Revision: 467395
URL: https://svnweb.freebsd.org/changeset/ports/467395

Log:
  Fix build with EPUB option disabled.

Added:
  head/graphics/atril/files/
  head/graphics/atril/files/patch-libview_ev-jobs.c   (contents, props changed)

Added: head/graphics/atril/files/patch-libview_ev-jobs.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/atril/files/patch-libview_ev-jobs.c	Sun Apr 15 14:06:49 2018	(r467395)
@@ -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)


More information about the svn-ports-head mailing list