diff options
| author | Alexander Kanavin <alex.kanavin@gmail.com> | 2022-04-07 19:00:18 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-04-19 14:14:10 +0100 |
| commit | cfcbd686835a3c0fca01e774e290da77c8a396ac (patch) | |
| tree | 91b8b6c02cccf45fbd6347d727603406fb5bd90c | |
| parent | 8349e1e81bbfd23ec1c1a40c83f8dc731ed76eb4 (diff) | |
| download | poky-cfcbd686835a3c0fca01e774e290da77c8a396ac.tar.gz | |
piglit: update to latest revision
Drop upstreamed patch.
(From OE-Core rev: cf4fc54875df6e98022a455745af0f0f12dda380)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 files changed, 27 insertions, 29 deletions
diff --git a/meta/recipes-graphics/piglit/piglit/0001-Add-a-missing-include-for-htobe32-definition.patch b/meta/recipes-graphics/piglit/piglit/0001-Add-a-missing-include-for-htobe32-definition.patch deleted file mode 100644 index 7b0cb17925..0000000000 --- a/meta/recipes-graphics/piglit/piglit/0001-Add-a-missing-include-for-htobe32-definition.patch +++ /dev/null | |||
| @@ -1,27 +0,0 @@ | |||
| 1 | From d623e9797b7ee9b3739a8a4afe1a01f7e03754aa Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | ||
| 3 | Date: Sun, 1 Nov 2020 20:08:49 +0000 | ||
| 4 | Subject: [PATCH] Add a missing include for htobe32 definition | ||
| 5 | |||
| 6 | Upstream-Status: Submitted [https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/609] | ||
| 7 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | ||
| 8 | --- | ||
| 9 | tests/spec/nv_copy_depth_to_color/nv_copy_depth_to_color.c | 2 ++ | ||
| 10 | 1 file changed, 2 insertions(+) | ||
| 11 | |||
| 12 | diff --git a/tests/spec/nv_copy_depth_to_color/nv_copy_depth_to_color.c b/tests/spec/nv_copy_depth_to_color/nv_copy_depth_to_color.c | ||
| 13 | index 5f45e0c23..c755ee29a 100644 | ||
| 14 | --- a/tests/spec/nv_copy_depth_to_color/nv_copy_depth_to_color.c | ||
| 15 | +++ b/tests/spec/nv_copy_depth_to_color/nv_copy_depth_to_color.c | ||
| 16 | @@ -34,6 +34,8 @@ | ||
| 17 | |||
| 18 | #include "piglit-util-gl.h" | ||
| 19 | |||
| 20 | +#include <endian.h> | ||
| 21 | + | ||
| 22 | #define IMAGE_WIDTH 60 | ||
| 23 | #define IMAGE_HEIGHT 60 | ||
| 24 | |||
| 25 | -- | ||
| 26 | 2.17.1 | ||
| 27 | |||
diff --git a/meta/recipes-graphics/piglit/piglit/0001-CMakeLists.txt-add-missing-endian.h-check.patch b/meta/recipes-graphics/piglit/piglit/0001-CMakeLists.txt-add-missing-endian.h-check.patch new file mode 100644 index 0000000000..68f783ebe4 --- /dev/null +++ b/meta/recipes-graphics/piglit/piglit/0001-CMakeLists.txt-add-missing-endian.h-check.patch | |||
| @@ -0,0 +1,25 @@ | |||
| 1 | From a8ea135125b284a8a9c965d8091b3d1d9a31849c Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Alexander Kanavin <alex@linutronix.de> | ||
| 3 | Date: Tue, 5 Apr 2022 16:51:34 +0200 | ||
| 4 | Subject: [PATCH] CMakeLists.txt: add missing endian.h check | ||
| 5 | |||
| 6 | This is needed to actually have HAVE_ENDIAN_H defined properly in config.h. | ||
| 7 | |||
| 8 | Upstream-Status: Submitted [https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/648] | ||
| 9 | Signed-off-by: Alexander Kanavin <alex@linutronix.de> | ||
| 10 | --- | ||
| 11 | CMakeLists.txt | 1 + | ||
| 12 | 1 file changed, 1 insertion(+) | ||
| 13 | |||
| 14 | diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
| 15 | index 9fb0508da..158fac4bc 100644 | ||
| 16 | --- a/CMakeLists.txt | ||
| 17 | +++ b/CMakeLists.txt | ||
| 18 | @@ -481,6 +481,7 @@ check_include_file(sys/stat.h HAVE_SYS_STAT_H) | ||
| 19 | check_include_file(unistd.h HAVE_UNISTD_H) | ||
| 20 | check_include_file(fcntl.h HAVE_FCNTL_H) | ||
| 21 | check_include_file(linux/sync_file.h HAVE_LINUX_SYNC_FILE_H) | ||
| 22 | +check_include_file(endian.h HAVE_ENDIAN_H) | ||
| 23 | |||
| 24 | if(DEFINED PIGLIT_INSTALL_VERSION) | ||
| 25 | set(PIGLIT_INSTALL_VERSION_SUFFIX | ||
diff --git a/meta/recipes-graphics/piglit/piglit_git.bb b/meta/recipes-graphics/piglit/piglit_git.bb index 3ae7a14e46..840050bfc9 100644 --- a/meta/recipes-graphics/piglit/piglit_git.bb +++ b/meta/recipes-graphics/piglit/piglit_git.bb | |||
| @@ -9,12 +9,12 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=b2beded7103a3d8a442a2a0391d607b0" | |||
| 9 | SRC_URI = "git://gitlab.freedesktop.org/mesa/piglit.git;protocol=https;branch=main \ | 9 | SRC_URI = "git://gitlab.freedesktop.org/mesa/piglit.git;protocol=https;branch=main \ |
| 10 | file://0001-cmake-install-bash-completions-in-the-right-place.patch \ | 10 | file://0001-cmake-install-bash-completions-in-the-right-place.patch \ |
| 11 | file://0001-cmake-use-proper-WAYLAND_INCLUDE_DIRS-variable.patch \ | 11 | file://0001-cmake-use-proper-WAYLAND_INCLUDE_DIRS-variable.patch \ |
| 12 | file://0001-Add-a-missing-include-for-htobe32-definition.patch \ | ||
| 13 | file://0002-tests-util-piglit-shader.c-do-not-hardcode-build-pat.patch \ | 12 | file://0002-tests-util-piglit-shader.c-do-not-hardcode-build-pat.patch \ |
| 13 | file://0001-CMakeLists.txt-add-missing-endian.h-check.patch \ | ||
| 14 | " | 14 | " |
| 15 | UPSTREAM_CHECK_COMMITS = "1" | 15 | UPSTREAM_CHECK_COMMITS = "1" |
| 16 | 16 | ||
| 17 | SRCREV = "2f80c7cc9c02d37574dc8ba3140b7dd8eb3cbf82" | 17 | SRCREV = "445711587d461539a4d8f9d35a7fe996a86d3c8d" |
| 18 | # (when PV goes above 1.0 remove the trailing r) | 18 | # (when PV goes above 1.0 remove the trailing r) |
| 19 | PV = "1.0+gitr${SRCPV}" | 19 | PV = "1.0+gitr${SRCPV}" |
| 20 | 20 | ||
