summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/piglit
diff options
context:
space:
mode:
authorwangmy <wangmy@fujitsu.com>2022-09-05 17:03:20 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-09-08 14:59:39 +0100
commit138e3c7f0a5ae884fe0541c4954a0ada57c80cb2 (patch)
treeb51ef45bf64e5fba9d9fae635d1c61a02b69af4a /meta/recipes-graphics/piglit
parent550b0f1766b8ca9edeecede3c2afdc911fa6fe72 (diff)
downloadpoky-138e3c7f0a5ae884fe0541c4954a0ada57c80cb2.tar.gz
piglit: upgrade to latest revision
0004-CMakeLists.txt-add-missing-endian.h-check.patch removed sinct it's included in new version. (From OE-Core rev: 8e7971611029421789e0377f77e7ba502fb48233) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/piglit')
-rw-r--r--meta/recipes-graphics/piglit/piglit/0004-CMakeLists.txt-add-missing-endian.h-check.patch25
-rw-r--r--meta/recipes-graphics/piglit/piglit_git.bb6
2 files changed, 3 insertions, 28 deletions
diff --git a/meta/recipes-graphics/piglit/piglit/0004-CMakeLists.txt-add-missing-endian.h-check.patch b/meta/recipes-graphics/piglit/piglit/0004-CMakeLists.txt-add-missing-endian.h-check.patch
deleted file mode 100644
index 68f783ebe4..0000000000
--- a/meta/recipes-graphics/piglit/piglit/0004-CMakeLists.txt-add-missing-endian.h-check.patch
+++ /dev/null
@@ -1,25 +0,0 @@
1From a8ea135125b284a8a9c965d8091b3d1d9a31849c Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex@linutronix.de>
3Date: Tue, 5 Apr 2022 16:51:34 +0200
4Subject: [PATCH] CMakeLists.txt: add missing endian.h check
5
6This is needed to actually have HAVE_ENDIAN_H defined properly in config.h.
7
8Upstream-Status: Submitted [https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/648]
9Signed-off-by: Alexander Kanavin <alex@linutronix.de>
10---
11 CMakeLists.txt | 1 +
12 1 file changed, 1 insertion(+)
13
14diff --git a/CMakeLists.txt b/CMakeLists.txt
15index 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 29360a246b..f758208c6b 100644
--- a/meta/recipes-graphics/piglit/piglit_git.bb
+++ b/meta/recipes-graphics/piglit/piglit_git.bb
@@ -10,11 +10,11 @@ SRC_URI = "git://gitlab.freedesktop.org/mesa/piglit.git;protocol=https;branch=ma
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://0002-cmake-use-proper-WAYLAND_INCLUDE_DIRS-variable.patch \ 11 file://0002-cmake-use-proper-WAYLAND_INCLUDE_DIRS-variable.patch \
12 file://0003-tests-util-piglit-shader.c-do-not-hardcode-build-pat.patch \ 12 file://0003-tests-util-piglit-shader.c-do-not-hardcode-build-pat.patch \
13 file://0004-CMakeLists.txt-add-missing-endian.h-check.patch \ 13 file://0005-cmake-Don-t-enable-GLX-if-tests-are-disabled.patch \
14 file://0005-cmake-Don-t-enable-GLX-if-tests-are-disabled.patch" 14 "
15UPSTREAM_CHECK_COMMITS = "1" 15UPSTREAM_CHECK_COMMITS = "1"
16 16
17SRCREV = "6403e90dc7da02d486906cddab8d02c2552a8d46" 17SRCREV = "265896c86f90cb72e8f218ba6a3617fca8b9a1e3"
18# (when PV goes above 1.0 remove the trailing r) 18# (when PV goes above 1.0 remove the trailing r)
19PV = "1.0+gitr${SRCPV}" 19PV = "1.0+gitr${SRCPV}"
20 20