From: Mike Frysinger Date: Sat, 3 Dec 2011 20:45:45 +0000 (+0000) Subject: drop now unused exclude_gcc_patches/GENTOO_PATCH_EXCLUDE logic X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=83f28eb613be74df70c2ff4f0005958af5d1bc9d;p=gentoo.git drop now unused exclude_gcc_patches/GENTOO_PATCH_EXCLUDE logic --- diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index 865dec9d7dd9..197511bc3e29 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.488 2011/12/03 20:43:51 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.489 2011/12/03 20:45:45 vapier Exp $ # # Maintainer: Toolchain Ninjas @@ -883,7 +883,6 @@ toolchain_src_unpack() { [[ -z ${UCLIBC_VER} ]] && [[ ${CTARGET} == *-uclibc* ]] && die "Sorry, this version does not support uClibc" [[ -z ${GCC_SVN} ]] && gcc_quick_unpack - exclude_gcc_patches cd "${S}" @@ -1931,20 +1930,6 @@ gcc_quick_unpack() { popd > /dev/null } -# Exclude any unwanted patches, as specified by the following variables: -# -# GENTOO_PATCH_EXCLUDE -# List of filenames, relative to ${WORKDIR}/patch/ -exclude_gcc_patches() { - local i - for i in ${GENTOO_PATCH_EXCLUDE} ; do - if [[ -f ${WORKDIR}/patch/${i} ]] ; then - einfo "Excluding patch ${i}" - rm -f "${WORKDIR}"/patch/${i} || die "failed to delete ${i}" - fi - done -} - do_gcc_HTB_patches() { want_boundschecking || return 0