From 447de7a8a31b6878e12033334e0ac19b16a0f6a1 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Sat, 11 Jan 2020 21:34:34 +0000 Subject: toolchain.eclass: allow applying patchsets to live ebuilds Signed-off-by: Sergei Trofimovich --- eclass/toolchain.eclass | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'eclass') diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index 64c38828a2eb..5f9bd7750dda 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -438,9 +438,9 @@ toolchain_pkg_setup() { toolchain_src_unpack() { if [[ ${PV} == *9999* ]]; then git-r3_src_unpack - else - gcc_quick_unpack fi + + gcc_quick_unpack } gcc_quick_unpack() { @@ -455,6 +455,8 @@ gcc_quick_unpack() { # 'GCC_A_FAKEIT' to specify it's own source and binary tarballs. if [[ -n ${GCC_A_FAKEIT} ]] ; then unpack ${GCC_A_FAKEIT} + elif [[ ${PV} == *9999* ]]; then + : # sources comes from git, not tarball elif [[ -n ${PRERELEASE} ]] ; then unpack gcc-${PRERELEASE}.tar.bz2 elif [[ -n ${SNAPSHOT} ]] ; then -- cgit v1.2.3-65-gdbad