1 |
commit: ff3fac4781eca7b1250547c9627f021cebbdf2a7 |
2 |
Author: Eric Joldasov <bratishkaerik <AT> getgoogleoff <DOT> me> |
3 |
AuthorDate: Thu Dec 1 12:43:10 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Dec 1 13:57:05 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff3fac47 |
7 |
|
8 |
dev-lang/zig-bin: drop 0.9.1-r1 |
9 |
|
10 |
Signed-off-by: Eric Joldasov <bratishkaerik <AT> getgoogleoff.me> |
11 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
12 |
|
13 |
dev-lang/zig-bin/Manifest | 5 --- |
14 |
.../zig-bin-0.9.1-fix-bad-hostname-segfault.patch | 26 ------------ |
15 |
dev-lang/zig-bin/zig-bin-0.9.1-r1.ebuild | 47 ---------------------- |
16 |
3 files changed, 78 deletions(-) |
17 |
|
18 |
diff --git a/dev-lang/zig-bin/Manifest b/dev-lang/zig-bin/Manifest |
19 |
index f3a4958e521b..66658fc5412e 100644 |
20 |
--- a/dev-lang/zig-bin/Manifest |
21 |
+++ b/dev-lang/zig-bin/Manifest |
22 |
@@ -1,10 +1,5 @@ |
23 |
-DIST zig-0.9.1-fix-detecting-abi.patch 22233 BLAKE2B fa523c4c4c23a74c0b4f85c6d2d91ef98b31d25694bb9dbc7988b82db972a16ab273aa9f1883cfa8ca79ef7fc56fca67d0a8656ba248b6db47bc902b7ac64a93 SHA512 259967f88f54c20f556bd9d67189ce3a2cfeb0250f0cee4dffb29020d976d61265a5dd9ae9cfcadfb7b1e152b47ee17f4184eafac2b80495f4ee8f98733cd692 |
24 |
DIST zig-linux-aarch64-0.10.0.tar.xz 40387688 BLAKE2B 47d0cb61f054b79dcd9e5f87f3f910c9440079dca7648a3017c871fb20bc76e07de5b76a438a9d8eda147e77061bebf43b1486160899eeca0972b547b269c607 SHA512 5db0df7fce49dd3ca7002c3d9782a8d16c8b92721cf5f8983978dddcfb42dd31c4e3edad5a321bceda627730320c95dc552226b9e5e06ba84315804153991de1 |
25 |
-DIST zig-linux-aarch64-0.9.1.tar.xz 37034860 BLAKE2B 3b984198d74ee01570e4e10175dc4471268970cc5bd66d732042f17f1cf31301cec9237df756b7fa589915ed4c4f29dcd9ba61fb8e65ce7e9b579762773fe26d SHA512 ca647f04a67a45ad9e869e335266fad9a4a0f3f377da31d54a6f022727404db6cf2386d33315df20d5da0b6883f59e27bb0d73e18856e571cf4bc8f890565639 |
26 |
DIST zig-linux-armv7a-0.10.0.tar.xz 50805936 BLAKE2B 57a2c8bf10d80a5b06570ebea786be725e6020a7184835a966ddae32a2126910915e2d2bae0932226edb644692ff39e7ab201a8d040c62106ac40539cd3e8096 SHA512 31d16e477a52e10d6ce4e646c7b97d6162c68d5938890b815fb9d5da527248ab46926649d68d5623953b9fbac707131c89d5c8388e9ae5128cf2182d0ab58278 |
27 |
-DIST zig-linux-armv7a-0.9.1.tar.xz 37974652 BLAKE2B 5d51260d8322d1400719d97c7cac2d12555622272900533128e20d45ea7a1c321b8a3eb9c7c406bbfd459da24d19451c65011bc2cac0b0c29a0372c56ea73a2b SHA512 239c5f02aeb1c85bc2c43374d610e27722c434d23cf3adf43b3923772dfe5800e340d6a6b3672bd307c159c2cccce5137aabb5b6648148c351e29c171de9e333 |
28 |
DIST zig-linux-i386-0.10.0.tar.xz 48451732 BLAKE2B e1ae0d48723e1439b612f56dee05776d83a9cabe4bd4ddc6198d777a51a5b2b8c696cf7ce7817641ab46edb91eff992abc4d12de7620d21b1bb63fc482d610da SHA512 6c4152137047efbf2cf3a65583697325baf29c5847734d38622207d15de04aa5bbcd15e37c3c07c51536a2f34ab16ceaf7776c009b0862cb510ed2a0494bdeef |
29 |
-DIST zig-linux-i386-0.9.1.tar.xz 44969172 BLAKE2B 7051242284f1ceca662a64257adf64b7383b71b475f27abd3377bdaf8335d56d8cbb9a961ebceb6ae26058258216848dcbde2f50f95a74e0b64578a9522f33d5 SHA512 5bdf0ebffe45023b5a28331137458d258048c7974311c8e8090bc610f0ec262dc0004f0a939cff443b1d94a9cca4035de8e6e98dad9d668413888da02b325b6d |
30 |
DIST zig-linux-riscv64-0.10.0.tar.xz 42272968 BLAKE2B 95fe8589b9be99625acb5c9a97fafd3126b838c7e0722529d34cfe87043cb0e8d6957e6f2bb3ac3ae1fc2f51cf6a062b98abe224c221ba659de1e16703b53255 SHA512 ae00cf4eb5e499bd44e94d6cd77464d85878881034ce088ef69aa1f3fdf58420768112b36007829ecaba74e77e96c0706222a2fc1397b773e3bb5f726a710549 |
31 |
DIST zig-linux-x86_64-0.10.0.tar.xz 44142400 BLAKE2B 7ba72ce57e616c5ead2fb84dc7e1b0ff08e8dffab56ca30cd00bff1d9b80fd62034f3d78b903f37f911665239a4717a6e93230faa77b3f387b0dada835672fb7 SHA512 87037766e58a736d7e4f9fca1c21dce070f2de8cd08dae7951e67252327b72dd69f79831f5c8e406be7ecc6522184400eba3bd265d3c7020c8fa4d2efc9f8766 |
32 |
-DIST zig-linux-x86_64-0.9.1.tar.xz 41011464 BLAKE2B 053fc1c3d30e5798b7d30c9a4f9b5609b9b080e9f237dab52ae661b183663fca6582dcc37458e8a51dd7eb4fbd1d3a9946f7c67cb756b69460f0e23b03cc96eb SHA512 0e5f5971dc9e586911f98122a410c98d8aaef2795d2d68488a1e9468ea45135479dac7f92708c973db4f8efce78cb0c6b3759cf239fba6237052434a2120d4d3 |
33 |
|
34 |
diff --git a/dev-lang/zig-bin/files/zig-bin-0.9.1-fix-bad-hostname-segfault.patch b/dev-lang/zig-bin/files/zig-bin-0.9.1-fix-bad-hostname-segfault.patch |
35 |
deleted file mode 100644 |
36 |
index 2e87ecc6d6ee..000000000000 |
37 |
--- a/dev-lang/zig-bin/files/zig-bin-0.9.1-fix-bad-hostname-segfault.patch |
38 |
+++ /dev/null |
39 |
@@ -1,26 +0,0 @@ |
40 |
-https://github.com/ziglang/zig/commit/601d8f721d6dc90ac390bf5ecc7d8bafdd6a30d8 |
41 |
-Bug https://bugs.gentoo.org/829959 |
42 |
- |
43 |
-From 601d8f721d6dc90ac390bf5ecc7d8bafdd6a30d8 Mon Sep 17 00:00:00 2001 |
44 |
-From: Veikka Touminen <git@××××.eu> |
45 |
-Date: Sun, 10 Jul 2022 04:27:23 -0600 |
46 |
-Subject: [PATCH] std.net.getAddressList: fix segfault on bad hostname |
47 |
- |
48 |
-Fixes #12065 |
49 |
---- |
50 |
- lib/std/net.zig | 2 +- |
51 |
- 1 file changed, 1 insertion(+), 1 deletion(-) |
52 |
- |
53 |
-diff --git a/lib/std/net.zig b/lib/std/net.zig |
54 |
-index 235ad8496a1..c381df9bce7 100644 |
55 |
---- a/lib/std/net.zig |
56 |
-+++ b/lib/std/net.zig |
57 |
-@@ -731,7 +731,7 @@ pub fn getAddressList(allocator: mem.Allocator, name: []const u8, port: u16) !*A |
58 |
- break :blk result; |
59 |
- }; |
60 |
- const arena = result.arena.allocator(); |
61 |
-- errdefer result.arena.deinit(); |
62 |
-+ errdefer result.deinit(); |
63 |
- |
64 |
- if (builtin.target.os.tag == .windows or builtin.link_libc) { |
65 |
- const name_c = try std.cstr.addNullByte(allocator, name); |
66 |
|
67 |
diff --git a/dev-lang/zig-bin/zig-bin-0.9.1-r1.ebuild b/dev-lang/zig-bin/zig-bin-0.9.1-r1.ebuild |
68 |
deleted file mode 100644 |
69 |
index b731f0d2c5d7..000000000000 |
70 |
--- a/dev-lang/zig-bin/zig-bin-0.9.1-r1.ebuild |
71 |
+++ /dev/null |
72 |
@@ -1,47 +0,0 @@ |
73 |
-# Copyright 2022 Gentoo Authors |
74 |
-# Distributed under the terms of the GNU General Public License v2 |
75 |
- |
76 |
-EAPI=8 |
77 |
- |
78 |
-DESCRIPTION="A robust, optimal, and maintainable programming language" |
79 |
-HOMEPAGE="https://ziglang.org/" |
80 |
-SRC_URI=" |
81 |
- amd64? ( https://ziglang.org/download/${PV}/zig-linux-x86_64-${PV}.tar.xz ) |
82 |
- arm? ( https://ziglang.org/download/${PV}/zig-linux-armv7a-${PV}.tar.xz ) |
83 |
- arm64? ( https://ziglang.org/download/${PV}/zig-linux-aarch64-${PV}.tar.xz ) |
84 |
- x86? ( https://ziglang.org/download/${PV}/zig-linux-i386-${PV}.tar.xz )" |
85 |
- |
86 |
-LICENSE="MIT" |
87 |
-SLOT="0" |
88 |
-KEYWORDS="-* ~amd64 ~arm ~arm64 ~x86" |
89 |
- |
90 |
-RDEPEND="!dev-lang/zig" |
91 |
- |
92 |
-SRC_URI+=" https://codeberg.org/BratishkaErik/distfiles/media/branch/master/zig-0.9.1-fix-detecting-abi.patch" |
93 |
- |
94 |
-# Zig provides its standard library in source form "/opt/zig-bin-{PV}/lib/", |
95 |
-# and all other Zig libraries are meant to be consumed in source form, |
96 |
-# because they can use compile-time mechanics (and it is easier for distributions to patch them) |
97 |
-# Here we use this feature for fixing programs that use standard library |
98 |
-# Note: Zig build system is also part of standard library, so we can fix it too |
99 |
-PATCHES=( |
100 |
- "${FILESDIR}/${P}-fix-bad-hostname-segfault.patch" |
101 |
- "${DISTDIR}/zig-0.9.1-fix-detecting-abi.patch" |
102 |
-) |
103 |
- |
104 |
-QA_PREBUILT="opt/${P}/zig" |
105 |
- |
106 |
-src_unpack() { |
107 |
- unpack ${A} |
108 |
- |
109 |
- mv "${WORKDIR}/"* "${S}" |
110 |
-} |
111 |
- |
112 |
-src_install() { |
113 |
- insinto /opt/ |
114 |
- doins -r "${S}" |
115 |
- |
116 |
- dosym -r /opt/${P}/doc/ /usr/share/doc/${PF} |
117 |
- dosym -r /opt/${P}/zig /usr/bin/zig |
118 |
- fperms 0755 /usr/bin/zig |
119 |
-} |