summaryrefslogtreecommitdiff
path: root/recipes/qt4/qt4-x11-free-gles-4.5.2/sgx-hack.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/qt4/qt4-x11-free-gles-4.5.2/sgx-hack.patch')
-rw-r--r--recipes/qt4/qt4-x11-free-gles-4.5.2/sgx-hack.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/recipes/qt4/qt4-x11-free-gles-4.5.2/sgx-hack.patch b/recipes/qt4/qt4-x11-free-gles-4.5.2/sgx-hack.patch
new file mode 100644
index 0000000000..77f0e2a2fd
--- /dev/null
+++ b/recipes/qt4/qt4-x11-free-gles-4.5.2/sgx-hack.patch
@@ -0,0 +1,20 @@
+--- /tmp/qegl_p.h 2009-07-09 08:42:12.000000000 +0200
++++ qt-x11-opensource-src-4.5.2/src/opengl/qegl_p.h 2009-07-09 08:42:30.000000000 +0200
+@@ -65,7 +65,7 @@
+ #else
+ #include <GLES/egl.h>
+ #endif
+-#if !defined(EGL_VERSION_1_3) && !defined(QEGL_NATIVE_TYPES_DEFINED)
++//#if !defined(EGL_VERSION_1_3) && !defined(QEGL_NATIVE_TYPES_DEFINED)
+ #undef EGLNativeWindowType
+ #undef EGLNativePixmapType
+ #undef EGLNativeDisplayType
+@@ -73,7 +73,7 @@
+ typedef NativePixmapType EGLNativePixmapType;
+ typedef NativeDisplayType EGLNativeDisplayType;
+ #define QEGL_NATIVE_TYPES_DEFINED 1
+-#endif
++//#endif
+ QT_END_INCLUDE_NAMESPACE
+
+ class QX11Info;