commit: 1f68a0d28e2ff6784086820066990a325364b815 Author: Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at> AuthorDate: Mon Mar 25 18:04:26 2024 +0000 Commit: Matthew Smith <matthew <AT> gentoo <DOT> org> CommitDate: Sun Apr 14 18:36:45 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f68a0d2
dev-util/rebar: remove unused patch Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at> Signed-off-by: Matthew Smith <matthew <AT> gentoo.org> .../files/rebar-3.18.0-bootstrap-vendored.patch | 36 ---------------------- 1 file changed, 36 deletions(-) diff --git a/dev-util/rebar/files/rebar-3.18.0-bootstrap-vendored.patch b/dev-util/rebar/files/rebar-3.18.0-bootstrap-vendored.patch deleted file mode 100644 index 633a74e174d4..000000000000 --- a/dev-util/rebar/files/rebar-3.18.0-bootstrap-vendored.patch +++ /dev/null @@ -1,36 +0,0 @@ -From 4c4b0d39dba07911a707f8b8f17711900d2ee786 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Viktor=20S=C3=B6derqvist?= <[email protected]> -Date: Fri, 5 Nov 2021 09:46:29 +0100 -Subject: [PATCH] Make bootstrap use _checkouts - -This makes it possible to run the bootstrap offline by placing the deps -in the using the already documented _checkouts directory in advance. ---- - bootstrap | 14 +++++++++++++- - 1 file changed, 13 insertions(+), 1 deletion(-) - -diff --git a/bootstrap b/bootstrap -index 9632b6c77..18cc46216 100755 ---- a/bootstrap -+++ b/bootstrap -@@ -92,7 +92,19 @@ fetch_and_compile({Name, ErlFirstFiles}, Deps) -> - - compile(Name, ErlFirstFiles). - --fetch({pkg, Name, Vsn}, App) -> -+fetch(Source, App) -> -+ Dir = filename:join([filename:absname("_checkouts"), App]), -+ case filelib:is_dir(Dir) of -+ false -> -+ fetch_from_hex(Source, App); -+ true -> -+ io:format("Using ~p from ~p~n", [App, Dir]), -+ Dest = filename:absname("_build/default/lib"), -+ ok = filelib:ensure_dir(filename:join([Dest, "dummy"])), -+ cp_r([Dir], Dest) -+ end. -+ -+fetch_from_hex({pkg, Name, Vsn}, App) -> - Dir = filename:join([filename:absname("_build/default/lib/"), App]), - case filelib:is_dir(Dir) of - false ->
