From bdf71279df89effbcaaaf9346fedcff07ca02065 Mon Sep 17 00:00:00 2001 From: pal1000 Date: Wed, 18 Oct 2023 00:29:44 +0300 Subject: [PATCH] mesa: Add fix for undefined reference to radv_GetCalibratedTimestampsEXT --- mingw-w64-mesa/PKGBUILD | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/mingw-w64-mesa/PKGBUILD b/mingw-w64-mesa/PKGBUILD index 883f8d15e4..d136e2daee 100644 --- a/mingw-w64-mesa/PKGBUILD +++ b/mingw-w64-mesa/PKGBUILD @@ -39,7 +39,8 @@ source=(https://mesa.freedesktop.org/archive/${_realname}-${pkgver}.tar.xz{,.sig 0003-addrlib-workaround-old-cpu-target.patch 0004-radv-add-stdcall-attribute.patch 0005-gallium-fix-build-with-llvm-17.patch - 0006-clover_llvm-move-to-modern-pass-manager.patch::https://gitlab.freedesktop.org/mesa/mesa/-/commit/2d4fe5f2.patch) + 0006-clover_llvm-move-to-modern-pass-manager.patch::https://gitlab.freedesktop.org/mesa/mesa/-/commit/2d4fe5f2.patch + 0007-fix-undef-ref-radv_GetCalibratedTimestampsEXT.patch::https://gitlab.freedesktop.org/mesa/mesa/-/commit/3e72539d.patch) sha256sums=('64de0616fc2d801f929ab1ac2a4f16b3e2783c4309a724c8a259b20df8bbc1cc' 'SKIP' '69f21522f20c10f5699dfe3e128aa88d4fedde816f6e8df1506d7470c44bf3da' @@ -47,7 +48,8 @@ sha256sums=('64de0616fc2d801f929ab1ac2a4f16b3e2783c4309a724c8a259b20df8bbc1cc' '4e511b1ab380d0e7d1f152f89c82665e5ef7de96f26de1b5597aa1db85cfc5a4' '64c0bfd7f9a3f624b8c52d1601aaec24e2983df6f986294e20a7aa1f8e6cb7e3' '0060d3629041597fd40c86d9ebee46c1729b7fc13ba29f89a1bf0db0823b21b4' - '073647aac58a5ea17abf3a742c6ab8d1b24a9b7eecdac7cddae737bf4324485b') + '073647aac58a5ea17abf3a742c6ab8d1b24a9b7eecdac7cddae737bf4324485b' + 'da965be606186740c7d323e309e9be03d1b5e13f88a765a1e50338ef79cb92b7') validpgpkeys=('8703B6700E7EE06D7A39B8D6EDAE37B02CEB490D') # Emil Velikov validpgpkeys+=('946D09B5E4C9845E63075FF1D961C596A7203456') # Andres Gomez validpgpkeys+=('E3E8F480C52ADD73B278EE78E1ECBE07D7D70895') # Juan Antonio Suárez Romero (Igalia, S.L.) " @@ -90,6 +92,9 @@ prepare() { # https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23827 apply_patch_with_msg \ 0005-gallium-fix-build-with-llvm-17.patch + # https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24664 + apply_patch_with_msg \ + 0007-fix-undef-ref-radv_GetCalibratedTimestampsEXT.patch # Generate binary wrap for LLVM if llvm-config tool is busted if ! [ "$(${MINGW_PREFIX}/bin/llvm-config --has-rtti 2>&1)" = YES ] && ! [ "$(${MINGW_PREFIX}/bin/llvm-config --has-rtti 2>&1)" = NO ]; then