diff mbox series

kmscube: Upgrade to the latest revision

Message ID 20241128161236.1530316-1-festevam@gmail.com
State New
Headers show
Series kmscube: Upgrade to the latest revision | expand

Commit Message

Fabio Estevam Nov. 28, 2024, 4:12 p.m. UTC
From: Fabio Estevam <festevam@denx.de>

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").

Signed-off-by: Fabio Estevam <festevam@denx.de>
---
 ...rs-Change-header-file-to-GLES3-gl3.h.patch | 31 -------------------
 meta/recipes-graphics/kmscube/kmscube_git.bb  |  3 +-
 2 files changed, 1 insertion(+), 33 deletions(-)
 delete mode 100644 meta/recipes-graphics/kmscube/kmscube/0001-cube-gears-Change-header-file-to-GLES3-gl3.h.patch
diff mbox series

Patch

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
deleted file mode 100644
index 415515b908..0000000000
--- a/meta/recipes-graphics/kmscube/kmscube/0001-cube-gears-Change-header-file-to-GLES3-gl3.h.patch
+++ /dev/null
@@ -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"
diff --git a/meta/recipes-graphics/kmscube/kmscube_git.bb b/meta/recipes-graphics/kmscube/kmscube_git.bb
index 01ea80a142..0fcea0702c 100644
--- a/meta/recipes-graphics/kmscube/kmscube_git.bb
+++ b/meta/recipes-graphics/kmscube/kmscube_git.bb
@@ -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"
 
-SRCREV = "b2f97f53e01e07a920761e5d3e3ba22898b794a4"
+SRCREV = "311eaaaa473d593c30d118799aa19ac4ad53cd65"
 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"