wok diff gcc/stuff/gcc-4.5.2-startfiles_fix-1.patch @ rev 14379

Move from undigest: faenza-icon-theme-emblems fbpdf ffmpegthumbnailer-dev ffmpegthumbnailer foobillardplus-music foobillardplus gnucash hg-git moserial ptxdist re-alpine sbackup slib tumbler-dev tumbler vfu
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Apr 22 21:54:08 2013 +0200 (2013-04-22)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gcc/stuff/gcc-4.5.2-startfiles_fix-1.patch	Mon Apr 22 21:54:08 2013 +0200
     1.3 @@ -0,0 +1,33 @@
     1.4 +Submitted By: Jeremy Huntwork (jhuntwork AT linuxfromscratch DOT org)
     1.5 +Date: 2008-12-05
     1.6 +Initial Package Version: 4.3.2
     1.7 +Upstream Status: See below.
     1.8 +Origin: DIY Linux, See below.
     1.9 +Description: Original patch follows:
    1.10 +
    1.11 +# DIY Linux Patch
    1.12 +Date: 2008-09-09
    1.13 +Author: Refer Origin.
    1.14 +Origin: Partial revert of http://gcc.gnu.org/ml/gcc-cvs/2006-11/msg00416.html
    1.15 +Maker: Greg Schafer <gschafer@zip.com.au>
    1.16 +Upstream Status: Not applicable. Tweak only for Temptools phase GCC-Pass2.
    1.17 +Description: Partially revert GCC driver to pre-GCC-4.3 state to allow startfiles to be
    1.18 +  found in $prefix when GCC is configured for a non-standard prefix eg: /temptools. Full
    1.19 +  background info in thread starting here: http://gcc.gnu.org/ml/gcc/2008-03/msg00095.html
    1.20 +  and GCC bugzilla here: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35532
    1.21 +
    1.22 +diff -Naur gcc-4.3.0-RC-20080222.orig/gcc/gcc.c gcc-4.3.0-RC-20080222/gcc/gcc.c
    1.23 +--- gcc-4.3.0-RC-20080222.orig/gcc/gcc.c	2008-01-24 18:57:12.000000000 +0000
    1.24 ++++ gcc-4.3.0-RC-20080222/gcc/gcc.c	2008-03-02 06:07:36.000000000 +0000
    1.25 +@@ -6370,6 +6370,11 @@
    1.26 + 			      machine_suffix, 
    1.27 + 			      standard_startfile_prefix, NULL),
    1.28 + 		      NULL, PREFIX_PRIORITY_LAST, 0, 1);
    1.29 ++	  add_prefix (&startfile_prefixes,
    1.30 ++		      concat (standard_exec_prefix,
    1.31 ++			      machine_suffix,
    1.32 ++			      standard_startfile_prefix, NULL),
    1.33 ++		      NULL, PREFIX_PRIORITY_LAST, 0, 1);
    1.34 + 	}
    1.35 + 
    1.36 +       /* Sysrooted prefixes are relocated because target_system_root is