@@ -1,4 +1,4 @@
-From 179e744f7577d98df7c79d7324c22acfb32a0154 Mon Sep 17 00:00:00 2001
+From c076c52a323584d6d00ca7079072cbc0dd88cb43 Mon Sep 17 00:00:00 2001
From: Dave Airlie <airlied@redhat.com>
Date: Fri, 7 Nov 2025 13:14:56 +1000
Subject: [PATCH] c11/threads: fix build on c23
@@ -12,14 +12,16 @@ Just fix up our use of it.
Upstream-Status: Submitted [https://gitlab.freedesktop.org/virgl/virglrenderer/-/merge_requests/1567]
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
- src/mesa/compat/c11/impl/threads_posix.c | 3 ++-
- 2 files changed, 4 insertions(+), 1 deletion(-)
+ src/mesa/compat/c11/threads_posix.h | 8 ++++++--
+ 1 file changed, 6 insertions(+), 2 deletions(-)
+diff --git a/src/mesa/compat/c11/threads_posix.h b/src/mesa/compat/c11/threads_posix.h
+index 45cb6075..071faf79 100644
--- a/src/mesa/compat/c11/threads_posix.h
+++ b/src/mesa/compat/c11/threads_posix.h
@@ -51,7 +51,9 @@ Configuration macro:
#include <pthread.h>
-
+
/*---------------------------- macros ----------------------------*/
+#ifndef __once_flag_defined
#define ONCE_FLAG_INIT PTHREAD_ONCE_INIT
@@ -35,11 +37,11 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
typedef pthread_once_t once_flag;
-
+#endif
-
+
/*
Implementation limits:
@@ -90,12 +93,13 @@ impl_thrd_routine(void *p)
-
+
/*--------------- 7.25.2 Initialization functions ---------------*/
// 7.25.2.1
+#ifndef __once_flag_defined
@@ -50,6 +52,6 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
}
-
+#endif
-
+
/*------------- 7.25.3 Condition variable functions -------------*/
// 7.25.3.1
@@ -1,4 +1,4 @@
-From 9677f66a240a0513623aa26b47233b49193d0402 Mon Sep 17 00:00:00 2001
+From 51c8a5a568b2cd1dfcb53ed3b49a0f8899be7be4 Mon Sep 17 00:00:00 2001
From: Alexander Kanavin <alex.kanavin@gmail.com>
Date: Mon, 6 Jan 2020 12:44:42 +0100
Subject: [PATCH] meson.build: use 'python3' directly for python
@@ -13,7 +13,7 @@ Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meson.build b/meson.build
-index 10be099e..3bb6eec7 100644
+index 193ba32b..c01cae65 100644
--- a/meson.build
+++ b/meson.build
@@ -77,7 +77,7 @@ flags = [
similarity index 96%
rename from meta/recipes-graphics/virglrenderer/virglrenderer_1.1.1.bb
rename to meta/recipes-graphics/virglrenderer/virglrenderer_1.2.0.bb
@@ -9,7 +9,7 @@ LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://COPYING;md5=c81c08eeefd9418fca8f88309a76db10"
DEPENDS = "libdrm libepoxy python3-pyyaml-native virtual/egl virtual/libgbm"
-SRCREV = "0f1f43929724a6a414c01a29bc51feccb445c2f0"
+SRCREV = "500b41d5c8638f9b80dd558f4044f3301c7457a4"
SRC_URI = "git://gitlab.freedesktop.org/virgl/virglrenderer.git;branch=main;protocol=https;tag=${PV} \
file://0001-meson.build-use-python3-directly-for-python.patch \
file://0001-c11-use-glibc-s-once_flag-ONCE_FLAG_INIT-when-presen.patch \
Hello, this email is a notification from the Auto Upgrade Helper that the automatic attempt to upgrade the recipe(s) *virglrenderer* to *1.2.0* has Succeeded. Next steps: - apply the patch: git am 0001-virglrenderer-upgrade-1.1.1-1.2.0.patch - check the changes to upstream patches and summarize them in the commit message, - compile an image that contains the package - perform some basic sanity tests - amend the patch and sign it off: git commit -s --reset-author --amend - send it to the appropriate mailing list Alternatively, if you believe the recipe should not be upgraded at this time, you can fill RECIPE_NO_UPDATE_REASON in respective recipe file so that automatic upgrades would no longer be attempted. Please review the attached files for further information and build/update failures. Any problem please file a bug at https://bugzilla.yoctoproject.org/enter_bug.cgi?product=Automated%20Update%20Handler Regards, The Upgrade Helper -- >8 -- From 2fa5970c06c60318f1c753c32ef5d2c74e33dca5 Mon Sep 17 00:00:00 2001 From: Upgrade Helper <auh@yoctoproject.org> Date: Tue, 16 Dec 2025 04:50:02 +0000 Subject: [PATCH] virglrenderer: upgrade 1.1.1 -> 1.2.0 --- ...-s-once_flag-ONCE_FLAG_INIT-when-presen.patch | 16 +++++++++------- ...n.build-use-python3-directly-for-python.patch | 4 ++-- ...lrenderer_1.1.1.bb => virglrenderer_1.2.0.bb} | 2 +- 3 files changed, 12 insertions(+), 10 deletions(-) rename meta/recipes-graphics/virglrenderer/{virglrenderer_1.1.1.bb => virglrenderer_1.2.0.bb} (96%)