components/gcc53/patches/006-fixincludes.patch
changeset 6859 569bef81e3c4
parent 6858 0f8601e37dad
child 6860 fbbec9b86c26
equal deleted inserted replaced
6858:0f8601e37dad 6859:569bef81e3c4
     1 #
       
     2 # We have made several changes to headers in Solaris 11/12 so that we no
       
     3 # longer need to "fix" them.  This patch limits what we fix and keep.
       
     4 #
       
     5 # We will want to spend time going through inclhack.def to make sure that
       
     6 # it only targets those things that we want "fixed" in S12 and later before
       
     7 # we submit anything upstream.
       
     8 #
       
     9 --- gcc-5.3.0.orig/fixincludes/fixinc.in	Sun Oct 28 14:42:48 2012
       
    10 +++ gcc-5.3.0/fixincludes/fixinc.in	Fri Jan 22 23:13:39 2016
       
    11 @@ -471,6 +471,13 @@
       
    12  # DOS/Windows filesystems.
       
    13  find . -name '[Dd][Oo][Nn][Ee]' -exec rm -f '{}' ';'
       
    14  
       
    15 +# We only want limits.h, syslimits.h, and feature_tests.h fixed on Solaris
       
    16 +for file in `find . -type f | \
       
    17 +             egrep -v './(limits.h|syslimits.h|sys/feature_tests.h)'` ; do
       
    18 +  echo Removing $file
       
    19 +  rm -f $file
       
    20 +done
       
    21 +
       
    22  if test $VERBOSE -gt 1
       
    23  then echo 'Cleaning up unneeded directories:' ; fi
       
    24  cd $LIB