summaryrefslogtreecommitdiff
path: root/meta/recipes-graphics/cogl/cogl-1.0
diff options
context:
space:
mode:
authorPrabhu Sundararaj <prabhu.sundararaj@freescale.com>2014-03-19 13:24:42 -0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-03-21 12:05:29 +0000
commit3eb2435a7c7c8108cb73945d5003a9fc7455befd (patch)
treec407f1433d00966f1ed88db5eb1502b766d7e21d /meta/recipes-graphics/cogl/cogl-1.0
parent0bbea90252b93d7e36527dd0db63597a3d4c0aa1 (diff)
downloadopenembedded-core-3eb2435a7c7c8108cb73945d5003a9fc7455befd.tar.gz
openembedded-core-3eb2435a7c7c8108cb73945d5003a9fc7455befd.tar.bz2
openembedded-core-3eb2435a7c7c8108cb73945d5003a9fc7455befd.zip
cogl-1.0 : Update to 1.16.2 release
Signed-off-by: Prabhu Sundararaj <prabhu.sundararaj@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/cogl/cogl-1.0')
-rw-r--r--meta/recipes-graphics/cogl/cogl-1.0/kms-include-stddef.h-before-drm.h.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/meta/recipes-graphics/cogl/cogl-1.0/kms-include-stddef.h-before-drm.h.patch b/meta/recipes-graphics/cogl/cogl-1.0/kms-include-stddef.h-before-drm.h.patch
new file mode 100644
index 0000000000..7cce279a19
--- /dev/null
+++ b/meta/recipes-graphics/cogl/cogl-1.0/kms-include-stddef.h-before-drm.h.patch
@@ -0,0 +1,33 @@
+Upstream-Status: Submitted [cogl@lists.freedesktop.org]
+
+From 5e4f4689308732a0570a1631169247157c59f064 Mon Sep 17 00:00:00 2001
+From: Andreas Oberritter <obi@saftware.de>
+Date: Tue, 28 Jan 2014 18:36:04 +0100
+Subject: [PATCH] kms: include stddef.h before drm.h
+
+Not doing so leads to the following error, if stddef.h is not included
+indirectly through EGL headers:
+
+| libdrm/drm.h:132:2: error: unknown type name 'size_t'
+| size_t name_len; /**< Length of name buffer */
+
+Signed-off-by: Andreas Oberritter <obi@saftware.de>
+---
+ cogl/winsys/cogl-winsys-egl-kms.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/cogl/winsys/cogl-winsys-egl-kms.c b/cogl/winsys/cogl-winsys-egl-kms.c
+index f7c9cfb..144ad9b 100644
+--- a/cogl/winsys/cogl-winsys-egl-kms.c
++++ b/cogl/winsys/cogl-winsys-egl-kms.c
+@@ -40,6 +40,7 @@
+
+ #include <EGL/egl.h>
+ #include <EGL/eglext.h>
++#include <stddef.h>
+ #include <drm.h>
+ #include <xf86drm.h>
+ #include <xf86drmMode.h>
+--
+1.8.3.2
+