mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 00:39:46 +00:00
kmscube: Upgrade to the latest revision
Upgrade to the latest revision and remove the patch because the
original problem has already been fixed upstream by kmscube
commit 311eaaaa473d ("kmscube: gears: use only GLES2").
(From OE-Core rev: 3348b02f72bf7cf62f73cce74caffe2c51d43b1a)
Signed-off-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
3848a579ce
commit
ad9d89fde6
-31
@@ -1,31 +0,0 @@
|
|||||||
From 38237aee63d671cc418902951b8945b59a41a4fd 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 d5b7a5f..cb538ec 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"
|
|
||||||
@@ -10,9 +10,8 @@ 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 = "b2f97f53e01e07a920761e5d3e3ba22898b794a4"
|
SRCREV = "311eaaaa473d593c30d118799aa19ac4ad53cd65"
|
||||||
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