summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <eradicator@gentoo.org>2005-01-31 02:08:44 +0000
committerJeremy Huddleston <eradicator@gentoo.org>2005-01-31 02:08:44 +0000
commit092a659edb910fadfb52ed661e49120dc9e900d9 (patch)
treeefda24cd6b918b14d407bbe8a4b593cd3f1cb9a1 /eclass/toolchain.eclass
parentstabilize to version using courier-authlib package (diff)
downloadgentoo-2-092a659edb910fadfb52ed661e49120dc9e900d9.tar.gz
gentoo-2-092a659edb910fadfb52ed661e49120dc9e900d9.tar.bz2
gentoo-2-092a659edb910fadfb52ed661e49120dc9e900d9.zip
Add sourceforge and GENTOO_TOOLCHAIN_BASE_URI to SRC_URI for boundschecking patch.
Diffstat (limited to 'eclass/toolchain.eclass')
-rw-r--r--eclass/toolchain.eclass9
1 files changed, 7 insertions, 2 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index 902bb61ffa08..80380f2622bd 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.96 2005/01/30 07:45:35 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.97 2005/01/31 02:08:44 eradicator Exp $
HOMEPAGE="http://www.gnu.org/software/gcc/gcc.html"
LICENSE="GPL-2 LGPL-2.1"
@@ -287,8 +287,13 @@ get_gcc_src_uri() {
# gcc bounds checking patch
if [[ -n ${HTB_VER} ]] ; then
+ local HTBFILE="bounds-checking-gcc-${HTB_GCC_VER:-${GCC_RELEASE_VER}}-${HTB_VER}.patch.bz2"
GCC_SRC_URI="${GCC_SRC_URI}
- boundschecking? ( http://web.inter.nl.net/hcc/Haj.Ten.Brugge/bounds-checking-${PN}-${HTB_GCC_VER:-${GCC_RELEASE_VER}}-${HTB_VER}.patch.bz2 )"
+ boundschecking? (
+ mirror://sourceforge/boundschecking/${HTBFILE}
+ http://web.inter.nl.net/hcc/Haj.Ten.Brugge/${HTBFILE}
+ ${GENTOO_TOOLCHAIN_BASE_URI}/${HTBFILE}
+ )"
fi
echo "${GCC_SRC_URI}"