Daurnimator pushed to branch main at Arch Linux / Packaging / Packages / zig
Commits: 79e0de10 by Daurnimator at 2023-08-21T22:32:57+10:00 upgpkg: 0.11.0-1 - - - - - 2 changed files: - PKGBUILD - + skip-localhost-test.patch Changes: ===================================== PKGBUILD ===================================== @@ -2,8 +2,8 @@ # Contributor: Marc Tiehuis <marctieh...@gmail.com> pkgname=zig -pkgver=0.10.1 -pkgrel=3 +pkgver=0.11.0 +pkgrel=1 pkgdesc='a general-purpose programming language and toolchain for maintaining robust, optimal, and reusable software' arch=('x86_64') url='https://ziglang.org/' @@ -12,8 +12,16 @@ options=('!lto') depends=('clang' 'lld' 'llvm-libs') makedepends=('cmake' 'llvm') checkdepends=('lib32-glibc') -source=("https://ziglang.org/download/$pkgver/zig-$pkgver.tar.xz") -sha256sums=('69459bc804333df077d441ef052ffa143d53012b655a51f04cfef1414c04168c') +source=("https://ziglang.org/download/$pkgver/zig-$pkgver.tar.xz" + "skip-localhost-test.patch") +sha256sums=('ead029cfe474d9bf0413332d0e9d3bdfb5990cadce238f44f35ba32d92169295' + 'eeb5f0f72035c52bf558ffc77a171a3ddf93eac7d663ef0c82826007763717a8') + +prepare() { + cd "$pkgname-$pkgver" + + patch -p1 -i ../skip-localhost-test.patch +} build() { cd "$pkgname-$pkgver" ===================================== skip-localhost-test.patch ===================================== @@ -0,0 +1,10 @@ +--- a/lib/std/net/test.zig 2023-08-20 22:44:38.000000000 +1000 ++++ b/lib/std/net/test.zig 2023-08-21 17:03:51.996044571 +1000 +@@ -119,6 +119,7 @@ + { + const localhost_v4 = try net.Address.parseIp("127.0.0.1", 80); + const localhost_v6 = try net.Address.parseIp("::2", 80); ++ if (true) return error.SkipZigTest; + + const result = try net.getAddressList(testing.allocator, "localhost", 80); + defer result.deinit(); View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/zig/-/commit/79e0de1078105b429e79e35412c8167ce8f8b898 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/zig/-/commit/79e0de1078105b429e79e35412c8167ce8f8b898 You're receiving this email because of your account on gitlab.archlinux.org.