patches/binutils/2.17/200-cross-gprof.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue Aug 02 18:28:10 2011 +0200 (2011-08-02)
changeset 2590 b64cfb67944e
parent 56 07a6a48962b7
permissions -rw-r--r--
scripts/functions: svn retrieval first tries the mirror for tarballs

The svn download helper looks for the local tarballs dir to see if it
can find a pre-downloaded tarball, and if it does not find it, does
the actual fetch to upstream via svn.

In the process, it does not even try to get a tarball from the local
mirror, which can be useful if the mirror has been pre-populated
manually (or with a previously downloaded tree).

Fake a tarball get with the standard tarball-download helper, but
without specifying any upstream URL, which makes the helper directly
try the LAN mirror.

Of course, if no mirror is specified, no URL wil be available, and
the standard svn retrieval will kick in.

Reported-by: ANDY KENNEDY <ANDY.KENNEDY@adtran.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
yann@56
     1
--- binutils-2.17/configure.old	2004-07-21 21:36:47.000000000 -0700
yann@56
     2
+++ binutils-2.17/configure	2004-07-21 21:37:08.000000000 -0700
yann@56
     3
@@ -1022,7 +1022,7 @@
yann@56
     4
 
yann@56
     5
 # Some tools are only suitable for building in a "native" situation.
yann@56
     6
 # Remove these if host!=target.  
yann@56
     7
-native_only="autoconf automake libtool fileutils find gawk gettext gzip hello indent m4 rcs recode sed shellutils tar textutils uudecode wdiff gprof target-groff guile perl time ash bash bzip2 prms gnuserv target-gperf"
yann@56
     8
+native_only="autoconf automake libtool fileutils find gawk gettext gzip hello indent m4 rcs recode sed shellutils tar textutils uudecode wdiff target-groff guile perl time ash bash bzip2 prms gnuserv target-gperf"
yann@56
     9
 
yann@56
    10
 # Similarly, some are only suitable for cross toolchains.
yann@56
    11
 # Remove these if host=target.
yann@56
    12
--- binutils-2.17/configure.in.old	2004-07-21 21:37:19.000000000 -0700
yann@56
    13
+++ binutils-2.17/configure.in	2004-07-21 21:37:34.000000000 -0700
yann@56
    14
@@ -227,7 +227,7 @@
yann@56
    15
 
yann@56
    16
 # Some tools are only suitable for building in a "native" situation.
yann@56
    17
 # Remove these if host!=target.  
yann@56
    18
-native_only="autoconf automake libtool fileutils find gawk gettext gzip hello indent m4 rcs recode sed shellutils tar textutils uudecode wdiff gprof target-groff guile perl time ash bash bzip2 prms gnuserv target-gperf"
yann@56
    19
+native_only="autoconf automake libtool fileutils find gawk gettext gzip hello indent m4 rcs recode sed shellutils tar textutils uudecode wdiff target-groff guile perl time ash bash bzip2 prms gnuserv target-gperf"
yann@56
    20
 
yann@56
    21
 # Similarly, some are only suitable for cross toolchains.
yann@56
    22
 # Remove these if host=target.