summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2020-11-02 17:47:56 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-11-03 08:21:10 +0000
commite27a459edcfb6cf9b7161e8d50cea3635304335f (patch)
treef738448f6754e203be2c5f36707da1f3a3290ed7 /meta
parenta9973bb87db8968ca1cf9ed4a9484b0bfa214b2a (diff)
downloadpoky-e27a459edcfb6cf9b7161e8d50cea3635304335f.tar.gz
piglit: upgrade to latest revision
Un-break musl builds with 0001-Add-a-missing-include-for-htobe32-definition.patch. (From OE-Core rev: 394746d1cb918da33dcfe6e9b5803ab3616f3cbc) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-graphics/piglit/piglit/0001-Add-a-missing-include-for-htobe32-definition.patch27
-rw-r--r--meta/recipes-graphics/piglit/piglit_git.bb3
2 files changed, 29 insertions, 1 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
new file mode 100644
index 0000000000..caa48e088d
--- /dev/null
+++ b/meta/recipes-graphics/piglit/piglit/0001-Add-a-missing-include-for-htobe32-definition.patch
@@ -0,0 +1,27 @@
1From d623e9797b7ee9b3739a8a4afe1a01f7e03754aa Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Sun, 1 Nov 2020 20:08:49 +0000
4Subject: [PATCH] Add a missing include for htobe32 definition
5
6Upstream-Status: Pending
7Signed-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
12diff --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
13index 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--
262.17.1
27
diff --git a/meta/recipes-graphics/piglit/piglit_git.bb b/meta/recipes-graphics/piglit/piglit_git.bb
index d35117a4f9..a9d1d39dfe 100644
--- a/meta/recipes-graphics/piglit/piglit_git.bb
+++ b/meta/recipes-graphics/piglit/piglit_git.bb
@@ -7,10 +7,11 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=b2beded7103a3d8a442a2a0391d607b0"
7SRC_URI = "git://gitlab.freedesktop.org/mesa/piglit.git;protocol=https \ 7SRC_URI = "git://gitlab.freedesktop.org/mesa/piglit.git;protocol=https \
8 file://0001-cmake-install-bash-completions-in-the-right-place.patch \ 8 file://0001-cmake-install-bash-completions-in-the-right-place.patch \
9 file://0001-cmake-use-proper-WAYLAND_INCLUDE_DIRS-variable.patch \ 9 file://0001-cmake-use-proper-WAYLAND_INCLUDE_DIRS-variable.patch \
10 file://0001-Add-a-missing-include-for-htobe32-definition.patch \
10 " 11 "
11UPSTREAM_CHECK_COMMITS = "1" 12UPSTREAM_CHECK_COMMITS = "1"
12 13
13SRCREV = "2a6a8f954dcd3f748055f28e019d2eca64635332" 14SRCREV = "59e695c16fdcdd4ea4f16365f0e397a93cef7b80"
14# (when PV goes above 1.0 remove the trailing r) 15# (when PV goes above 1.0 remove the trailing r)
15PV = "1.0+gitr${SRCPV}" 16PV = "1.0+gitr${SRCPV}"
16 17