diff options
Diffstat (limited to 'meta/recipes-graphics/kmscube/kmscube/0001-cube-gears-Change-header-file-to-GLES3-gl3.h.patch')
-rw-r--r-- | meta/recipes-graphics/kmscube/kmscube/0001-cube-gears-Change-header-file-to-GLES3-gl3.h.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/meta/recipes-graphics/kmscube/kmscube/0001-cube-gears-Change-header-file-to-GLES3-gl3.h.patch b/meta/recipes-graphics/kmscube/kmscube/0001-cube-gears-Change-header-file-to-GLES3-gl3.h.patch new file mode 100644 index 0000000000..f8608d4676 --- /dev/null +++ b/meta/recipes-graphics/kmscube/kmscube/0001-cube-gears-Change-header-file-to-GLES3-gl3.h.patch | |||
@@ -0,0 +1,31 @@ | |||
1 | From 5f54f067da7ee24a61d6cb41e0636383729e2bad Mon Sep 17 00:00:00 2001 | ||
2 | From: Fabio Estevam <festevam@gmail.com> | ||
3 | Date: Mon, 8 Jan 2024 15:00:01 -0300 | ||
4 | Subject: [PATCH] cube-gears: Change header file to <GLES3/gl3.h> | ||
5 | |||
6 | Since commit 96d63eb59e34 ("kmscube: Add gears mode"), kmscube fails | ||
7 | to build on platforms without <GL/gl.h>. | ||
8 | |||
9 | Fix it by changing the header file to <GLES3/gl3.h>. | ||
10 | |||
11 | Reported-by: Martin Jansa <martin.jansa@gmail.com> | ||
12 | Suggested-by: Martin Jansa <martin.jansa@gmail.com> | ||
13 | Signed-off-by: Fabio Estevam <festevam@gmail.com> | ||
14 | Upstream-Status: Submitted [https://gitlab.freedesktop.org/mesa/kmscube/-/merge_requests/51] | ||
15 | --- | ||
16 | cube-gears.c | 2 +- | ||
17 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
18 | |||
19 | diff --git a/cube-gears.c b/cube-gears.c | ||
20 | index d5b7a5f..cb538ec 100644 | ||
21 | --- a/cube-gears.c | ||
22 | +++ b/cube-gears.c | ||
23 | @@ -31,7 +31,7 @@ | ||
24 | #include <sys/time.h> | ||
25 | #include <math.h> | ||
26 | |||
27 | -#include <GL/gl.h> | ||
28 | +#include <GLES3/gl3.h> | ||
29 | |||
30 | #include "common.h" | ||
31 | #include "esUtil.h" | ||