summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Shachnev <mitya57@gmail.com>2017-08-27 20:32:33 +0300
committerDmitry Shachnev <mitya57@gmail.com>2017-08-27 20:32:48 +0300
commitda0171a763dfe573868d7c1dec1b1b6eb9a37913 (patch)
tree9bf4ef9395f3e62b1364aac76edd635bcf1b2514
parentc7ca1fe383fbb314ff2c23fb043a61a58f865068 (diff)
downloadqt5webkit-da0171a763dfe573868d7c1dec1b1b6eb9a37913.tar.gz
Add a patch to properly detect whether OpenGL ES 2 should be used.
-rw-r--r--debian/changelog1
-rw-r--r--debian/patches/detect_opengl_es2.diff16
-rw-r--r--debian/patches/series1
3 files changed, 18 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 64fe2b3..5019253 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -18,6 +18,7 @@ qtwebkit-opensource-src (5.212.0~alpha2-1) UNRELEASED; urgency=medium
* Drop unused Lintian overrides.
* Add a patch to hide WebCore and JSCore symbols from libQt5WebKit.so.5.
* Update libqt5webkit5.symbols from the current ppc64el build log.
+ * Add a patch to properly detect whether OpenGL ES 2 should be used.
-- Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org> Fri, 25 Aug 2017 20:50:49 +0300
diff --git a/debian/patches/detect_opengl_es2.diff b/debian/patches/detect_opengl_es2.diff
new file mode 100644
index 0000000..ef3399e
--- /dev/null
+++ b/debian/patches/detect_opengl_es2.diff
@@ -0,0 +1,16 @@
+Description: fix header needed to check OpenGL ES 2
+Author: Dmitry Shachnev <mitya57@debian.org>
+Bug-Upstream: https://github.com/annulen/webkit/issues/598
+Last-Update: 2017-08-27
+
+--- a/Source/WTF/wtf/Platform.h
++++ b/Source/WTF/wtf/Platform.h
+@@ -1057,7 +1057,7 @@
+
+ #if PLATFORM(QT)
+ #ifdef __cplusplus
+-#include <qglobal.h>
++#include <QtGui/qtguiglobal.h>
+ #endif
+ #if defined(QT_OPENGL_ES_2) && !defined(USE_OPENGL_ES_2)
+ #define USE_OPENGL_ES_2 1
diff --git a/debian/patches/series b/debian/patches/series
index bd57887..95ce338 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
reduce_exports.diff
+detect_opengl_es2.diff