# --- T2-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # T2 SDE: package/.../gcc/fixincl2.patch # Copyright (C) 2008 The T2 SDE Project # # More information can be found in the files COPYING and README. # # This patch file is dual-licensed. It is available under the license the # patched project is licensed under, as long as it is an OpenSource license # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms # of the GNU General Public License as published by the Free Software # Foundation; either version 2 of the License, or (at your option) any later # version. # --- T2-COPYRIGHT-NOTE-END --- --- gcc-4.3.1/gcc/Makefile.in.vanilla 2008-07-19 19:21:58.000000000 +0200 +++ gcc-4.3.1/gcc/Makefile.in 2008-07-19 19:24:39.000000000 +0200 @@ -4085,10 +4085,10 @@ if [ $$? -eq 0 ]; then \ dir=`cd include-fixed; ${PWD_COMMAND}`; \ for i in $$files; do \ - dest=`ls -ld $(DESTDIR)$(libsubdir)/include-fixed/$$i | sed -n 's/.*-> //p'`; \ + dest=`ls -ld $(DESTDIR)$(libsubdir)/include/$$i | sed -n 's/.*-> //p'`; \ if expr "$$dest" : "$$dir.*" > /dev/null; then \ rm -f $(DESTDIR)$(libsubdir)/include-fixed/$$i; \ - ln -s `echo $$i | sed "s|/[^/]*|/..|g" | sed 's|/..$$||'``echo "$$dest" | sed "s|$$dir||"` $(DESTDIR)$(libsubdir)/include-fixed/$$i; \ + ln -s `echo $$i | sed "s|/[^/]*|/..|g" | sed 's|/..$$||'``echo "$$dest" | sed "s|$$dir||"` $(DESTDIR)$(libsubdir)/include/$$i; \ fi; \ done; \ fi @@ -4096,9 +4096,6 @@ # Create or recreate the gcc private include file directory. install-include-dir: installdirs $(mkinstalldirs) $(DESTDIR)$(libsubdir)/include - -rm -rf $(DESTDIR)$(libsubdir)/include-fixed - mkdir $(DESTDIR)$(libsubdir)/include-fixed - -chmod a+rx $(DESTDIR)$(libsubdir)/include-fixed # Create or recreate the install-tools include file directory. itoolsdir = $(libexecsubdir)/install-tools @@ -4116,7 +4113,7 @@ (cd `${PWD_COMMAND}`/include ; \ tar -cf - .; exit 0) | (cd $(DESTDIR)$(libsubdir)/include; tar xpf - ) (cd `${PWD_COMMAND}`/include-fixed ; \ - tar -cf - .; exit 0) | (cd $(DESTDIR)$(libsubdir)/include-fixed; tar xpf - ) + tar -cf - .; exit 0) | (cd $(DESTDIR)$(libsubdir)/include; tar xpf - ) # /bin/sh on some systems returns the status of the first tar, # and that can lose with GNU tar which always writes a full block. # So use `exit 0' to ignore its exit status. @@ -4127,7 +4124,7 @@ cd `${PWD_COMMAND}`/include ; \ find . -print | cpio -pdum $(DESTDIR)$(libsubdir)/include cd `${PWD_COMMAND}`/include-fixed ; \ - find . -print | cpio -pdum $(DESTDIR)$(libsubdir)/include-fixed + find . -print | cpio -pdum $(DESTDIR)$(libsubdir)/include # Install the include directory using cp. install-headers-cp: stmp-int-hdrs $(STMP_FIXPROTO) install-include-dir @@ -4137,11 +4134,11 @@ # Targets without dependencies, for use in prev-gcc during bootstrap. real-install-headers-tar: (cd `${PWD_COMMAND}`/include-fixed ; \ - tar -cf - .; exit 0) | (cd $(DESTDIR)$(libsubdir)/include-fixed; tar xpf - ) + tar -cf - .; exit 0) | (cd $(DESTDIR)$(libsubdir)/include; tar xpf - ) real-install-headers-cpio: cd `${PWD_COMMAND}`/include-fixed ; \ - find . -print | cpio -pdum $(DESTDIR)$(libsubdir)/include-fixed + find . -print | cpio -pdum $(DESTDIR)$(libsubdir)/include real-install-headers-cp: cp -p -r include-fixed $(DESTDIR)$(libsubdir)