From 301f868fd0a42b0f3e01adcc1b175d450a60036c Mon Sep 17 00:00:00 2001 From: Felix Yan Date: Wed, 22 Nov 2023 23:06:59 +0200 Subject: [PATCH] updpatch: zig 0.11.0-1 Skip macho link tests because they don't build on riscv64. `nocheck` is still required and test failures have been reported to https://github.com/ziglang/zig/issues/18018 --- zig/riscv64.patch | 32 +++++++++++++++++++++++--------- 1 file changed, 23 insertions(+), 9 deletions(-) diff --git a/zig/riscv64.patch b/zig/riscv64.patch index c4f68e0d2..e061e75cd 100644 --- a/zig/riscv64.patch +++ b/zig/riscv64.patch @@ -1,12 +1,26 @@ -Index: PKGBUILD -=================================================================== ---- PKGBUILD (revision 1142351) -+++ PKGBUILD (working copy) -@@ -10,7 +10,6 @@ - license=('MIT') - depends=('clang' 'llvm-libs' 'lld') +diff --git PKGBUILD PKGBUILD +index 2602c6c..4d1e164 100644 +--- PKGBUILD ++++ PKGBUILD +@@ -11,16 +11,18 @@ license=('MIT') + options=('!lto') + depends=('clang' 'lld' 'llvm-libs') makedepends=('cmake' 'llvm') -checkdepends=('lib32-glibc') source=("https://ziglang.org/download/$pkgver/zig-$pkgver.tar.xz" - "resolve_DNS.patch") - sha256sums=('cd1be83b12f8269cc5965e59877b49fdd8fa638efb6995ac61eb4cea36a2e381' +- "skip-localhost-test.patch") ++ "skip-localhost-test.patch" ++ "disable-macho-link-tests.patch") + sha256sums=('ead029cfe474d9bf0413332d0e9d3bdfb5990cadce238f44f35ba32d92169295' +- 'eeb5f0f72035c52bf558ffc77a171a3ddf93eac7d663ef0c82826007763717a8') ++ 'eeb5f0f72035c52bf558ffc77a171a3ddf93eac7d663ef0c82826007763717a8' ++ 'e70f2a61c2543414d7f7a0fbcec4fc88fcca0b2f80368c4a6e6ad9ea76ed917d') + + prepare() { + cd "$pkgname-$pkgver" + + patch -p1 -i ../skip-localhost-test.patch ++ patch -p1 -i ../disable-macho-link-tests.patch + } + + build() {