Signed-off-by: Alexander Kanavin <[email protected]>
---
 ...nder-ops.c-add-missing-format-string.patch | 24 +++++++++++++++++++
 meta/recipes-graphics/piglit/piglit_git.bb    |  3 ++-
 2 files changed, 26 insertions(+), 1 deletion(-)
 create mode 100644 
meta/recipes-graphics/piglit/piglit/0001-render-ops.c-add-missing-format-string.patch

diff --git 
a/meta/recipes-graphics/piglit/piglit/0001-render-ops.c-add-missing-format-string.patch
 
b/meta/recipes-graphics/piglit/piglit/0001-render-ops.c-add-missing-format-string.patch
new file mode 100644
index 0000000000..261d98d8f6
--- /dev/null
+++ 
b/meta/recipes-graphics/piglit/piglit/0001-render-ops.c-add-missing-format-string.patch
@@ -0,0 +1,24 @@
+From e21e68f6aa0f5249fce613e8fd4ac0edbd5cb7b0 Mon Sep 17 00:00:00 2001
+From: Alexander Kanavin <[email protected]>
+Date: Tue, 22 Dec 2020 13:35:11 +0100
+Subject: [PATCH] render-ops.c: add missing format string
+
+Upstream-Status: Pending
+Signed-off-by: Alexander Kanavin <[email protected]>
+---
+ tests/spec/ati_fragment_shader/render-ops.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/tests/spec/ati_fragment_shader/render-ops.c 
b/tests/spec/ati_fragment_shader/render-ops.c
+index 131334ba2..19a353d67 100644
+--- a/tests/spec/ati_fragment_shader/render-ops.c
++++ b/tests/spec/ati_fragment_shader/render-ops.c
+@@ -393,7 +393,7 @@ piglit_display(void)
+               bool ok = piglit_probe_rect_halves_equal_rgba(get_test_x(i), 
get_test_y(i),
+                                                             w * 2, h);
+               enum piglit_result sub_result = ok ? PIGLIT_PASS : PIGLIT_FAIL;
+-              piglit_report_subtest_result(sub_result, test->name);
++              piglit_report_subtest_result(sub_result, "%s", test->name);
+               piglit_merge_result(&result, sub_result);
+       }
+ 
diff --git a/meta/recipes-graphics/piglit/piglit_git.bb 
b/meta/recipes-graphics/piglit/piglit_git.bb
index 31954aa8b6..442c1a3c62 100644
--- a/meta/recipes-graphics/piglit/piglit_git.bb
+++ b/meta/recipes-graphics/piglit/piglit_git.bb
@@ -13,10 +13,11 @@ SRC_URI = 
"git://gitlab.freedesktop.org/mesa/piglit.git;protocol=https \
            file://0001-serializer.py-make-.gz-files-reproducible.patch \
            file://0001-framework-profile.py-make-test-lists-reproducible.patch 
\
            
file://0001-tests-shader.py-sort-the-file-list-before-working-on.patch \
+           file://0001-render-ops.c-add-missing-format-string.patch \
            "
 UPSTREAM_CHECK_COMMITS = "1"
 
-SRCREV = "0fda9f67a782edec640998286e7b6058e8933d17"
+SRCREV = "603deba4ab66e2a8948693a14d715e536caddcc5"
 # (when PV goes above 1.0 remove the trailing r)
 PV = "1.0+gitr${SRCPV}"
 
-- 
2.29.2

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#146209): 
https://lists.openembedded.org/g/openembedded-core/message/146209
Mute This Topic: https://lists.openembedded.org/mt/79230662/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to