public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/zig-bin/
Date: Sun, 11 Sep 2022 18:13:32 +0000 (UTC)	[thread overview]
Message-ID: <1662920003.6b9fe8c78153a1122285cc9213f9a80cd751bc89.sam@gentoo> (raw)

commit:     6b9fe8c78153a1122285cc9213f9a80cd751bc89
Author:     Eric Joldasov <bratishkaerik <AT> getgoogleoff <DOT> me>
AuthorDate: Thu Aug 25 04:20:54 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Sep 11 18:13:23 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b9fe8c7

dev-lang/zig-bin: add notes regarding standard library and patches

Signed-off-by: Eric Joldasov <bratishkaerik <AT> getgoogleoff.me>
Closes: https://github.com/gentoo/gentoo/pull/26999
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-lang/zig-bin/zig-bin-0.9.1-r1.ebuild | 5 +++++
 1 file changed, 5 insertions(+)

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"


             reply	other threads:[~2022-09-11 18:13 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-11 18:13 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-11-07  6:52 [gentoo-commits] repo/gentoo:master commit in: dev-lang/zig-bin/ Sam James
2023-01-20  1:17 Sam James
2023-01-20  3:54 Sam James
2023-03-09 10:54 Florian Schmaus
2023-03-09 10:54 Florian Schmaus
2023-03-17  9:44 Florian Schmaus
2023-05-13  3:28 Sam James
2023-08-25  3:58 Jakov Smolić
2024-05-20  7:49 Sam James
2024-05-24 19:27 Florian Schmaus
2024-08-07  3:16 Sam James
2025-02-16 16:29 Sam James
2025-02-16 16:29 Sam James
2025-03-05 11:40 Sam James
2025-05-10 18:03 Sam James

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1662920003.6b9fe8c78153a1122285cc9213f9a80cd751bc89.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox