diff --git a/recipes-graphics/mesa/mesa/rv32-sys-futex.patch b/recipes-graphics/mesa/mesa/rv32-sys-futex.patch deleted file mode 100644 index ba33de9..0000000 --- a/recipes-graphics/mesa/mesa/rv32-sys-futex.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 45544e43f60418917dfd8ec57e99880ce38ced88 Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Thu, 30 Jan 2020 16:57:50 -0800 -Subject: [PATCH] mesa,libxshmfence: Define __NR_futex for rv32 - -Signed-off-by: Khem Raj ---- - src/util/futex.h | 4 ++++ - 1 file changed, 4 insertions(+) - -diff --git a/src/util/futex.h b/src/util/futex.h -index 4d712e2..920818d 100644 ---- a/src/util/futex.h -+++ b/src/util/futex.h -@@ -27,6 +27,10 @@ - #if defined(HAVE_LINUX_FUTEX_H) - #define UTIL_FUTEX_SUPPORTED 1 - -+#if !defined(__NR_futex) && defined(__riscv) && __riscv_xlen == 32 -+# define __NR_futex __NR_futex_time64 -+#endif -+ - #include - #include - #include diff --git a/recipes-graphics/mesa/mesa_20.%.bbappend b/recipes-graphics/mesa/mesa_20.%.bbappend deleted file mode 100644 index 9cc58e9..0000000 --- a/recipes-graphics/mesa/mesa_20.%.bbappend +++ /dev/null @@ -1,3 +0,0 @@ -FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" - -SRC_URI_append_riscv32 = " file://rv32-sys-futex.patch"