mirror of
https://git.yoctoproject.org/poky
synced 2026-09-14 21:49:33 +02:00
kmscube: Change header file to <GLES3/gl3.h>
Since kmscube commit 96d63eb59e34 ("kmscube: Add gears mode"), kmscube
fails to build on platforms without <GL/gl.h>.
Fix it by changing the header file to <GLES3/gl3.h>.
Reported-by: Martin Jansa <martin.jansa@gmail.com>
(From OE-Core rev: f44f79298fc909aea9fcc8ebc848a96e9ff5a647)
Signed-off-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
a3299e18a7
commit
17404d96e7
@@ -0,0 +1,33 @@
|
|||||||
|
From 0651c4edc9909832ff2acbbf170268f34e36616d Mon Sep 17 00:00:00 2001
|
||||||
|
From: Fabio Estevam <festevam@gmail.com>
|
||||||
|
Date: Mon, 8 Jan 2024 15:00:01 -0300
|
||||||
|
Subject: [PATCH] cube-gears: Change header file to <GLES3/gl3.h>
|
||||||
|
|
||||||
|
Since commit 96d63eb59e34 ("kmscube: Add gears mode"), kmscube fails
|
||||||
|
to build on platforms without <GL/gl.h>.
|
||||||
|
|
||||||
|
Fix it by changing the header file to <GLES3/gl3.h>.
|
||||||
|
|
||||||
|
Reported-by: Martin Jansa <martin.jansa@gmail.com>
|
||||||
|
Suggested-by: Martin Jansa <martin.jansa@gmail.com>
|
||||||
|
Signed-off-by: Fabio Estevam <festevam@gmail.com>
|
||||||
|
Upstream-Status: Submitted [https://gitlab.freedesktop.org/mesa/kmscube/-/merge_requests/51]
|
||||||
|
---
|
||||||
|
cube-gears.c | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/cube-gears.c b/cube-gears.c
|
||||||
|
index d5b7a5f9cbef..cb538ecc4aee 100644
|
||||||
|
--- a/cube-gears.c
|
||||||
|
+++ b/cube-gears.c
|
||||||
|
@@ -31,7 +31,7 @@
|
||||||
|
#include <sys/time.h>
|
||||||
|
#include <math.h>
|
||||||
|
|
||||||
|
-#include <GL/gl.h>
|
||||||
|
+#include <GLES3/gl3.h>
|
||||||
|
|
||||||
|
#include "common.h"
|
||||||
|
#include "esUtil.h"
|
||||||
|
--
|
||||||
|
2.34.1
|
||||||
@@ -11,7 +11,9 @@ DEPENDS = "virtual/libgles3 virtual/libgles2 virtual/egl libdrm virtual/libgbm"
|
|||||||
LIC_FILES_CHKSUM = "file://kmscube.c;beginline=1;endline=23;md5=8b309d4ee67b7315ff7381270dd631fb"
|
LIC_FILES_CHKSUM = "file://kmscube.c;beginline=1;endline=23;md5=8b309d4ee67b7315ff7381270dd631fb"
|
||||||
|
|
||||||
SRCREV = "96d63eb59e34c647cda1cbb489265f8c536ae055"
|
SRCREV = "96d63eb59e34c647cda1cbb489265f8c536ae055"
|
||||||
SRC_URI = "git://gitlab.freedesktop.org/mesa/kmscube;branch=master;protocol=https"
|
SRC_URI = "git://gitlab.freedesktop.org/mesa/kmscube;branch=master;protocol=https \
|
||||||
|
file://0001-cube-gears-Change-header-file-to-GLES3-gl3.h.patch \
|
||||||
|
"
|
||||||
|
|
||||||
UPSTREAM_CHECK_COMMITS = "1"
|
UPSTREAM_CHECK_COMMITS = "1"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user