mesa: Add fix for undefined reference to radv_GetCalibratedTimestampsEXT

This commit is contained in:
pal1000
2023-10-18 00:29:44 +03:00
parent f06185f608
commit bdf71279df

View File

@@ -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 <emil.l.velikov@gmail.com>
validpgpkeys+=('946D09B5E4C9845E63075FF1D961C596A7203456') # Andres Gomez <tanty@igalia.com>
validpgpkeys+=('E3E8F480C52ADD73B278EE78E1ECBE07D7D70895') # Juan Antonio Suárez Romero (Igalia, S.L.) <jasuarez@igalia.com>"
@@ -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