summaryrefslogtreecommitdiffstats
path: root/meta/recipes-sato
diff options
context:
space:
mode:
authorPushpal Sidhu <psidhu@gateworks.com>2015-10-23 14:03:21 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-11-16 11:39:27 +0000
commita23d1ca891f8c910ee4e87fc625f87df0d4abf08 (patch)
tree7cacce4ec90d09e2e7e418b8f0bbdd6e4cc0792b /meta/recipes-sato
parent69836e88a8b74bda3b346a3bcb54f2f92c5ee589 (diff)
downloadpoky-a23d1ca891f8c910ee4e87fc625f87df0d4abf08.tar.gz
webkitgtk: Add upstream patch to fix build problem
From Upstream webkit: fd15a368fa73fe08d91cc1dd7ef05c0c5a3ae851 Webkit will fail to compile under certain circumstances. Please see https://bugs.webkit.org/show_bug.cgi?id=149172 for more details. (From OE-Core rev: 5cb4344e55d748483279a7f0035e7d581bcd52cf) Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-sato')
-rw-r--r--meta/recipes-sato/webkit/files/0002-GTK-Build-failure-with-ACCELERATED_2D_CANVAS-when-ca.patch35
-rw-r--r--meta/recipes-sato/webkit/webkitgtk_2.8.5.bb1
2 files changed, 36 insertions, 0 deletions
diff --git a/meta/recipes-sato/webkit/files/0002-GTK-Build-failure-with-ACCELERATED_2D_CANVAS-when-ca.patch b/meta/recipes-sato/webkit/files/0002-GTK-Build-failure-with-ACCELERATED_2D_CANVAS-when-ca.patch
new file mode 100644
index 0000000000..e95c0e4a22
--- /dev/null
+++ b/meta/recipes-sato/webkit/files/0002-GTK-Build-failure-with-ACCELERATED_2D_CANVAS-when-ca.patch
@@ -0,0 +1,35 @@
1From 6ea42d4fa6f3f6dd18c37cb7b6e1faea6afefba4 Mon Sep 17 00:00:00 2001
2From: "clopez@igalia.com" <clopez@igalia.com>
3Date: Tue, 15 Sep 2015 21:50:18 +0000
4Subject: [PATCH] [GTK] Build failure with ACCELERATED_2D_CANVAS when cairo-gl has
5 built with OpenGLESv2 support only.
6
7When cairo-gl is built with GLX and ACCELERATED_2D_CANVAS if cairo-gl was only
8built with OpenGLESv2, cairo-glx is not enabled causing
9Source/WebCore/platform/graphics/glx/GLContextGLX.cpp to reference an undeclared
10function and cause a compliation error. Adding an extra check resolves this
11build failure.
12
13Upstream-Status: Backport [webkit-2.10.0]
14
15Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>
16---
17 Source/WebCore/platform/graphics/glx/GLContextGLX.cpp | 2 +-
18 1 file changed, 1 insertion(+), 1 deletion(-)
19
20diff --git a/Source/WebCore/platform/graphics/glx/GLContextGLX.cpp b/Source/WebCore/platform/graphics/glx/GLContextGLX.cpp
21index 7890d8d..4ed3a43 100644
22--- a/Source/WebCore/platform/graphics/glx/GLContextGLX.cpp
23+++ b/Source/WebCore/platform/graphics/glx/GLContextGLX.cpp
24@@ -266,7 +266,7 @@ cairo_device_t* GLContextGLX::cairoDevice()
25 if (m_cairoDevice)
26 return m_cairoDevice;
27
28-#if ENABLE(ACCELERATED_2D_CANVAS)
29+#if ENABLE(ACCELERATED_2D_CANVAS) && CAIRO_HAS_GLX_FUNCTIONS
30 m_cairoDevice = cairo_glx_device_create(sharedX11Display(), m_context);
31 #endif
32
33--
342.6.2
35
diff --git a/meta/recipes-sato/webkit/webkitgtk_2.8.5.bb b/meta/recipes-sato/webkit/webkitgtk_2.8.5.bb
index e29666ae78..68634a9bc1 100644
--- a/meta/recipes-sato/webkit/webkitgtk_2.8.5.bb
+++ b/meta/recipes-sato/webkit/webkitgtk_2.8.5.bb
@@ -13,6 +13,7 @@ LIC_FILES_CHKSUM = "file://Source/JavaScriptCore/COPYING.LIB;md5=d0c6d6397a5d842
13SRC_URI = "\ 13SRC_URI = "\
14 http://www.webkitgtk.org/releases/${BPN}-${PV}.tar.xz \ 14 http://www.webkitgtk.org/releases/${BPN}-${PV}.tar.xz \
15 file://0001-This-patch-fixes-a-command-line-that-is-too-long-ove.patch \ 15 file://0001-This-patch-fixes-a-command-line-that-is-too-long-ove.patch \
16 file://0002-GTK-Build-failure-with-ACCELERATED_2D_CANVAS-when-ca.patch \
16 file://gcc5.patch \ 17 file://gcc5.patch \
17 " 18 "
18SRC_URI[md5sum] = "df79991848a5096d3a75289ebce547ae" 19SRC_URI[md5sum] = "df79991848a5096d3a75289ebce547ae"