summaryrefslogtreecommitdiffstats
path: root/package/qt5/qt5webkit/0001-egl-includepath.patch
diff options
context:
space:
mode:
authorSamuel Martin <s.martin49@gmail.com>2014-11-13 23:54:27 +0100
committerPeter Korsgaard <peter@korsgaard.com>2014-11-14 13:20:26 +0100
commit21713340ba1f193ac13f9512f686677a3d62a118 (patch)
tree5f9180aa9a7e232e032a6a888bb63f3f411e9604 /package/qt5/qt5webkit/0001-egl-includepath.patch
parenteda279220422fb794138d34e901eee02f95dda14 (diff)
downloadbuildroot-21713340ba1f193ac13f9512f686677a3d62a118.tar.gz
buildroot-21713340ba1f193ac13f9512f686677a3d62a118.zip
package/qt5webkit: rename patch to the new convention
Signed-off-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/qt5/qt5webkit/0001-egl-includepath.patch')
-rw-r--r--package/qt5/qt5webkit/0001-egl-includepath.patch40
1 files changed, 40 insertions, 0 deletions
diff --git a/package/qt5/qt5webkit/0001-egl-includepath.patch b/package/qt5/qt5webkit/0001-egl-includepath.patch
new file mode 100644
index 0000000000..de5bcff0d3
--- /dev/null
+++ b/package/qt5/qt5webkit/0001-egl-includepath.patch
@@ -0,0 +1,40 @@
+From d6b1b33a12c0cf6c52667afafe34e58a7b00d0d8 Mon Sep 17 00:00:00 2001
+From: Floris Bos <bos@je-eigen-domein.nl>
+Date: Thu, 7 Mar 2013 19:25:17 +0100
+Subject: [PATCH] Webcore: add EGL and OpenGL (ES) INCDIR to INCLUDEPATH
+
+When building with 3D graphics support enabled, add the
+OpenGL (ES) and EGL include directories to the include path.
+
+Signed-off-by: Floris Bos <bos@je-eigen-domein.nl>
+---
+ Source/WebCore/Target.pri | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/Source/WebCore/Target.pri b/Source/WebCore/Target.pri
+index 2669748..421a849 100644
+--- a/Source/WebCore/Target.pri
++++ b/Source/WebCore/Target.pri
+@@ -3992,15 +3992,19 @@ use?(3D_GRAPHICS) {
+
+ contains(QT_CONFIG, opengl) | contains(QT_CONFIG, opengles2) {
+ !contains(QT_CONFIG, opengles2) {
++ INCLUDEPATH += $$QMAKE_INCDIR_OPENGL
+ SOURCES += \
+ platform/graphics/opengl/GraphicsContext3DOpenGL.cpp \
+ platform/graphics/opengl/Extensions3DOpenGL.cpp
+ } else {
++ INCLUDEPATH += $$QMAKE_INCDIR_OPENGL_ES2
+ SOURCES += \
+ platform/graphics/opengl/GraphicsContext3DOpenGLES.cpp \
+ platform/graphics/opengl/Extensions3DOpenGLES.cpp
+ }
+
++ !isEmpty(QMAKE_INCDIR_EGL): INCLUDEPATH += $$QMAKE_INCDIR_EGL
++
+ HEADERS += platform/graphics/opengl/Extensions3DOpenGL.h
+
+ SOURCES += \
+--
+1.7.10.4
+
OpenPOWER on IntegriCloud