gcc-4.1.1/sh3-installfix-fixheaders.patch : Fix of bug 1525
authorKristoffer Ericson <kristoffer_e1@hotmail.com>
Wed, 31 Jan 2007 22:07:58 +0000 (22:07 +0000)
committerKristoffer Ericson <kristoffer_e1@hotmail.com>
Wed, 31 Jan 2007 22:07:58 +0000 (22:07 +0000)
* When running the installation script in gcc it complains about
  missing the file build/fix-header. Its a known bug that has
  been fixed upstreams (but no patch). Its not quite clear what
  fix-header does, but for now we will remove the install lines.
* Added SRC_URI_append_sh3 for patch in gcc_4.1.1.bb

packages/gcc/gcc-4.1.1/sh3-installfix-fixheaders.patch [new file with mode: 0644]
packages/gcc/gcc_4.1.1.bb

diff --git a/packages/gcc/gcc-4.1.1/sh3-installfix-fixheaders.patch b/packages/gcc/gcc-4.1.1/sh3-installfix-fixheaders.patch
new file mode 100644 (file)
index 0000000..a06cd2e
--- /dev/null
@@ -0,0 +1,11 @@
+--- gcc-4.1.1/gcc/Makefile.in_orig     2007-01-31 21:24:23.000000000 +0000
++++ gcc-4.1.1/gcc/Makefile.in  2007-01-31 21:24:43.000000000 +0000
+@@ -3772,8 +3772,6 @@
+         $(INSTALL_SCRIPT) $(mkinstalldirs) \
+               $(DESTDIR)$(itoolsdir)/mkinstalldirs ; \
+         $(INSTALL_SCRIPT) $(srcdir)/fixproto $(DESTDIR)$(itoolsdir)/fixproto ; \
+-        $(INSTALL_PROGRAM) build/fix-header$(build_exeext) \
+-              $(DESTDIR)$(itoolsdir)/fix-header$(build_exeext) ; \
+       else :; fi
+       echo 'SYSTEM_HEADER_DIR="'"$(SYSTEM_HEADER_DIR)"'"' \
+               > $(DESTDIR)$(itoolsdatadir)/mkheaders.conf
index ee8bfb0..48827cc 100644 (file)
@@ -34,6 +34,7 @@ SRC_URI = "http://ftp.gnu.org/pub/gnu/gcc/gcc-4.1.1/gcc-4.1.1.tar.bz2 \
        "
 
 SRC_URI_append_fail-fast = " file://zecke-no-host-includes.patch;patch=1 "
+SRC_URI_append_sh3  = " file://sh3-installfix-fixheaders.patch;patch=1 "
 
 #Set the fortran bits
 # 'fortran' or '', not 'f77' like gcc3 had