public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in www-client/midori/files: midori-0.5.10-fix-webkit2-build-breakage.patch
@ 2015-06-25  6:55 Lars Wendler (polynomial-c)
  0 siblings, 0 replies; only message in thread
From: Lars Wendler (polynomial-c) @ 2015-06-25  6:55 UTC (permalink / raw
  To: gentoo-commits

polynomial-c    15/06/25 06:55:19

  Added:                midori-0.5.10-fix-webkit2-build-breakage.patch
  Log:
  Fixed build failure with webkit2
  
  (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 0x981CA6FC)

Revision  Changes    Path
1.1                  www-client/midori/files/midori-0.5.10-fix-webkit2-build-breakage.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/midori/files/midori-0.5.10-fix-webkit2-build-breakage.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/midori/files/midori-0.5.10-fix-webkit2-build-breakage.patch?rev=1.1&content-type=text/plain

Index: midori-0.5.10-fix-webkit2-build-breakage.patch
===================================================================
https://launchpadlibrarian.net/204464340/0002-fix-webkit2-build-breakage.patch

webkit_web_view_get_main_frame() is a webkit1 API function.
Using it without a check breaks webkit2 builds.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>

diff -Nura midori-0.5.10.orig/midori/midori-view.c midori-0.5.10.wk2/midori/midori-view.c
--- midori-0.5.10.orig/midori/midori-view.c	2015-04-24 08:50:24.940501790 -0300
+++ midori-0.5.10.wk2/midori/midori-view.c	2015-04-25 07:19:21.707132362 -0300
@@ -1256,9 +1256,11 @@
                                         message, error->message, NULL,
                                         _("Try Again"), web_frame);
 
+#ifdef WEBKIT2
     /* if the main frame for the whole tab has a network error, set tab error status */
     if (web_frame == webkit_web_view_get_main_frame (web_view))
         midori_tab_set_load_error (MIDORI_TAB (view), MIDORI_LOAD_ERROR_NETWORK);
+#endif
 
     g_free (message);
     g_free (title);





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-06-25  6:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-25  6:55 [gentoo-commits] gentoo-x86 commit in www-client/midori/files: midori-0.5.10-fix-webkit2-build-breakage.patch Lars Wendler (polynomial-c)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox