commit:     042170938639f54a66bda9708cf0f276f8ede6f2
Author:     Eric Joldasov <bratishkaerik <AT> landless-city <DOT> net>
AuthorDate: Thu Oct 23 12:35:00 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Oct 23 15:39:09 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04217093

dev-lang/zig: fix build error for 9999

Upstream changed behavior so that the "max_rss" field
in one line of their build.zig is now required:
https://www.github.com/ziglang/zig/pull/25402

Drop the command removing it, as it is no longer needed.
"max_rss" errors were downgraded to warnings in:
https://www.github.com/ziglang/zig/pull/23525

Upstream suggestion:
https://www.github.com/ziglang/zig/issues/25659

Closes: https://bugs.gentoo.org/964953
Signed-off-by: Eric Joldasov <bratishkaerik <AT> landless-city.net>
Part-of: https://github.com/gentoo/gentoo/pull/44298
Closes: https://github.com/gentoo/gentoo/pull/44298
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-lang/zig/zig-9999.ebuild | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/dev-lang/zig/zig-9999.ebuild b/dev-lang/zig/zig-9999.ebuild
index 9f811213cd8f..77bc255c63cc 100644
--- a/dev-lang/zig/zig-9999.ebuild
+++ b/dev-lang/zig/zig-9999.ebuild
@@ -119,11 +119,6 @@ src_prepare() {
                # "--system" mode is not used during bootstrap.
        fi
 
-       # Remove "limit memory usage" flags, it's already verified by
-       # CHECKREQS_MEMORY and causes unneccessary errors. Upstream set them
-       # according to CI OOM failures, which are not applicable to normal 
Gentoo build.
-       sed -i -e '/\.max_rss = .*,/d' build.zig || die
-
        sed -i '/exe\.allow_so_scripts = true;/d' build.zig || die
 }
 

Reply via email to