From 378cfc3b7b1890254f709142ae403cdba363b6c5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 15 May 2020 09:57:14 +0100 Subject: net-libs/webkit-gtk : version bump --- .../files/2.28.2-fix-yelp-desktopless-build.patch | 53 ++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 net-libs/webkit-gtk/files/2.28.2-fix-yelp-desktopless-build.patch (limited to 'net-libs/webkit-gtk/files/2.28.2-fix-yelp-desktopless-build.patch') diff --git a/net-libs/webkit-gtk/files/2.28.2-fix-yelp-desktopless-build.patch b/net-libs/webkit-gtk/files/2.28.2-fix-yelp-desktopless-build.patch new file mode 100644 index 00000000..fdf9d7d4 --- /dev/null +++ b/net-libs/webkit-gtk/files/2.28.2-fix-yelp-desktopless-build.patch @@ -0,0 +1,53 @@ +From 9cd4011a12bf658aad3776251792bacdc894643a Mon Sep 17 00:00:00 2001 +From: "berto@igalia.com" + +Date: Mon, 27 Apr 2020 11:52:10 +0000 +Subject: [PATCH] [GTK] [2.28.0] The Yelp build crashes if DISPLAY is not set + https://bugs.webkit.org/show_bug.cgi?id=209431 + +Reviewed by Carlos Garcia Campos. + +Don't create a PlatformDisplayLibWPE as a fallback when using +Wayland or X11. + +* platform/graphics/PlatformDisplay.cpp: +(WebCore::PlatformDisplay::createPlatformDisplay): + +git-svn-id: https://svn.webkit.org/repository/webkit/trunk@260750 268f45cc-cd09-0410-ab3c-d52691b4dbfc +--- + Source/WebCore/platform/graphics/PlatformDisplay.cpp | 12 ++++++------ + 1 file changed, 6 insertions(+), 6 deletions(-) + +diff --git a/Source/WebCore/platform/graphics/PlatformDisplay.cpp b/Source/WebCore/platform/graphics/PlatformDisplay.cpp +index 8bb47ca2b77..f9547b3af69 100644 +--- a/Source/WebCore/platform/graphics/PlatformDisplay.cpp ++++ b/Source/WebCore/platform/graphics/PlatformDisplay.cpp +@@ -98,12 +98,6 @@ std::unique_ptr PlatformDisplay::createPlatformDisplay() + } + #endif // PLATFORM(GTK) + +-#if USE(WPE_RENDERER) +- return PlatformDisplayLibWPE::create(); +-#elif PLATFORM(WIN) +- return PlatformDisplayWin::create(); +-#endif +- + #if PLATFORM(WAYLAND) + if (auto platformDisplay = PlatformDisplayWayland::create()) + return platformDisplay; +@@ -121,6 +115,12 @@ std::unique_ptr PlatformDisplay::createPlatformDisplay() + return PlatformDisplayX11::create(nullptr); + #endif + ++#if USE(WPE_RENDERER) ++ return PlatformDisplayLibWPE::create(); ++#elif PLATFORM(WIN) ++ return PlatformDisplayWin::create(); ++#endif ++ + RELEASE_ASSERT_NOT_REACHED(); + } + +-- +2.20.1 + -- cgit v1.2.3