From 5439962f358fe0dc834fbe1f8619cfdb5e1b4719 Mon Sep 17 00:00:00 2001 From: "Marty E. Plummer" Date: Sat, 2 Jun 2018 19:03:35 -0500 Subject: [PATCH] toolchain-glibc.eclass: remove git logic The git logic is handled in the live ebuild directly, and the only use of this eclass is in non-live ebuilds. In fact, the two newest non-live ebuilds do not make use of this eclass at all, and as far as I can see nowhere in the history of this file does it inherit git-2 at all. --- eclass/toolchain-glibc.eclass | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/eclass/toolchain-glibc.eclass b/eclass/toolchain-glibc.eclass index d75ca2eefdf5..5f0e0cfd5cd5 100644 --- a/eclass/toolchain-glibc.eclass +++ b/eclass/toolchain-glibc.eclass @@ -667,16 +667,7 @@ toolchain-glibc_do_src_unpack() { # Check NPTL support _before_ we unpack things to save some time want_nptl && check_nptl_support - if [[ -n ${EGIT_REPO_URIS} ]] ; then - local i d - for ((i=0; i<${#EGIT_REPO_URIS[@]}; ++i)) ; do - EGIT_REPO_URI=${EGIT_REPO_URIS[$i]} - EGIT_SOURCEDIR=${EGIT_SOURCEDIRS[$i]} - git-2_src_unpack - done - else - unpack_pkg - fi + unpack_pkg cd "${S}" touch locale/C-translit.h #185476 #218003 -- 2.26.2