diff options
author | Eric Joldasov <bratishkaerik@getgoogleoff.me> | 2022-08-25 10:20:54 +0600 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-09-11 19:13:23 +0100 |
commit | 6b9fe8c78153a1122285cc9213f9a80cd751bc89 (patch) | |
tree | 6290ae40b9be1639cad08b8ce332ee203776c9a4 /dev-lang/zig-bin | |
parent | dev-lang/zig-bin: add patches for 0.9.1 (diff) | |
download | gentoo-6b9fe8c78153a1122285cc9213f9a80cd751bc89.tar.gz gentoo-6b9fe8c78153a1122285cc9213f9a80cd751bc89.tar.bz2 gentoo-6b9fe8c78153a1122285cc9213f9a80cd751bc89.zip |
dev-lang/zig-bin: add notes regarding standard library and patches
Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me>
Closes: https://github.com/gentoo/gentoo/pull/26999
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-lang/zig-bin')
-rw-r--r-- | dev-lang/zig-bin/zig-bin-0.9.1-r1.ebuild | 5 |
1 files changed, 5 insertions, 0 deletions
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 index 9ed2987939d1..b731f0d2c5d7 100644 --- a/dev-lang/zig-bin/zig-bin-0.9.1-r1.ebuild +++ b/dev-lang/zig-bin/zig-bin-0.9.1-r1.ebuild @@ -19,6 +19,11 @@ RDEPEND="!dev-lang/zig" SRC_URI+=" https://codeberg.org/BratishkaErik/distfiles/media/branch/master/zig-0.9.1-fix-detecting-abi.patch" +# Zig provides its standard library in source form "/opt/zig-bin-{PV}/lib/", +# and all other Zig libraries are meant to be consumed in source form, +# because they can use compile-time mechanics (and it is easier for distributions to patch them) +# Here we use this feature for fixing programs that use standard library +# Note: Zig build system is also part of standard library, so we can fix it too PATCHES=( "${FILESDIR}/${P}-fix-bad-hostname-segfault.patch" "${DISTDIR}/zig-0.9.1-fix-detecting-abi.patch" |