wok-undigest annotate gcc/stuff/gcc-4.5.2-startfiles_fix-1.patch @ rev 1223

copied libxext recipe from wok-next
author Hans-G?nter Theisgen
date Fri Nov 15 17:38:29 2019 +0100 (2019-11-15)
parents
children
rev   line source
pankso@674 1 Submitted By: Jeremy Huntwork (jhuntwork AT linuxfromscratch DOT org)
pankso@674 2 Date: 2008-12-05
pankso@674 3 Initial Package Version: 4.3.2
pankso@674 4 Upstream Status: See below.
pankso@674 5 Origin: DIY Linux, See below.
pankso@674 6 Description: Original patch follows:
pankso@674 7
pankso@674 8 # DIY Linux Patch
pankso@674 9 Date: 2008-09-09
pankso@674 10 Author: Refer Origin.
pankso@674 11 Origin: Partial revert of http://gcc.gnu.org/ml/gcc-cvs/2006-11/msg00416.html
pankso@674 12 Maker: Greg Schafer <gschafer@zip.com.au>
pankso@674 13 Upstream Status: Not applicable. Tweak only for Temptools phase GCC-Pass2.
pankso@674 14 Description: Partially revert GCC driver to pre-GCC-4.3 state to allow startfiles to be
pankso@674 15 found in $prefix when GCC is configured for a non-standard prefix eg: /temptools. Full
pankso@674 16 background info in thread starting here: http://gcc.gnu.org/ml/gcc/2008-03/msg00095.html
pankso@674 17 and GCC bugzilla here: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35532
pankso@674 18
pankso@674 19 diff -Naur gcc-4.3.0-RC-20080222.orig/gcc/gcc.c gcc-4.3.0-RC-20080222/gcc/gcc.c
pankso@674 20 --- gcc-4.3.0-RC-20080222.orig/gcc/gcc.c 2008-01-24 18:57:12.000000000 +0000
pankso@674 21 +++ gcc-4.3.0-RC-20080222/gcc/gcc.c 2008-03-02 06:07:36.000000000 +0000
pankso@674 22 @@ -6370,6 +6370,11 @@
pankso@674 23 machine_suffix,
pankso@674 24 standard_startfile_prefix, NULL),
pankso@674 25 NULL, PREFIX_PRIORITY_LAST, 0, 1);
pankso@674 26 + add_prefix (&startfile_prefixes,
pankso@674 27 + concat (standard_exec_prefix,
pankso@674 28 + machine_suffix,
pankso@674 29 + standard_startfile_prefix, NULL),
pankso@674 30 + NULL, PREFIX_PRIORITY_LAST, 0, 1);
pankso@674 31 }
pankso@674 32
pankso@674 33 /* Sysrooted prefixes are relocated because target_system_root is