Commit f55d7a3d authored by Alberto Garcia's avatar Alberto Garcia
Browse files

Fix build with wpebackend-fdo 1.8.1

parent 56409a23
...@@ -4,6 +4,8 @@ webkit2gtk (2.30.6-1) UNRELEASED; urgency=high ...@@ -4,6 +4,8 @@ webkit2gtk (2.30.6-1) UNRELEASED; urgency=high
* debian/control: * debian/control:
+ Remove references to browser-plugin-freshplayer-pepperflash, this + Remove references to browser-plugin-freshplayer-pepperflash, this
package is no longer available, see #966474. package is no longer available, see #966474.
* debian/patches/include-libwpe.patch:
+ Fix build with wpebackend-fdo 1.8.1.
-- Alberto Garcia <berto@igalia.com> Thu, 18 Mar 2021 13:58:13 +0100 -- Alberto Garcia <berto@igalia.com> Thu, 18 Mar 2021 13:58:13 +0100
......
From: Carlos Garcia Campos <cgarcia@igalia.com>
Subject: Fix build with wpebackend-fdo 1.8.1
Origin: https://trac.webkit.org/changeset/273376
Index: webkitgtk/Source/WebKit/UIProcess/API/glib/WebKitProtocolHandler.cpp
===================================================================
--- webkitgtk.orig/Source/WebKit/UIProcess/API/glib/WebKitProtocolHandler.cpp
+++ webkitgtk/Source/WebKit/UIProcess/API/glib/WebKitProtocolHandler.cpp
@@ -42,6 +42,7 @@
#include <gtk/gtk.h>
#if PLATFORM(WAYLAND) && USE(WPE_RENDERER)
+#include <wpe/wpe.h>
#include <wpe/fdo.h>
#endif
#endif
Index: webkitgtk/Source/WebKit/UIProcess/gtk/AcceleratedBackingStoreWayland.cpp
===================================================================
--- webkitgtk.orig/Source/WebKit/UIProcess/gtk/AcceleratedBackingStoreWayland.cpp
+++ webkitgtk/Source/WebKit/UIProcess/gtk/AcceleratedBackingStoreWayland.cpp
@@ -50,6 +50,7 @@
#endif
#if USE(WPE_RENDERER)
+#include <wpe/wpe.h>
#include <wpe/fdo-egl.h>
#if WPE_FDO_CHECK_VERSION(1, 7, 0)
#include <wayland-server.h>
...@@ -6,3 +6,4 @@ prefer-pthread.patch ...@@ -6,3 +6,4 @@ prefer-pthread.patch
dont-detect-sse2.patch dont-detect-sse2.patch
reduce-memory-overheads.patch reduce-memory-overheads.patch
fix-mips-page-size.patch fix-mips-page-size.patch
include-libwpe.patch
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment