From: Kristoffer Ericson Date: Wed, 31 Jan 2007 22:07:58 +0000 (+0000) Subject: gcc-4.1.1/sh3-installfix-fixheaders.patch : Fix of bug 1525 X-Git-Tag: Release-2010-05/1~9314^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=793692a93c0f66668176730ed56c650e3941168b;p=openembedded.git gcc-4.1.1/sh3-installfix-fixheaders.patch : Fix of bug 1525 * 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 --- 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 index 0000000000..a06cd2e075 --- /dev/null +++ b/packages/gcc/gcc-4.1.1/sh3-installfix-fixheaders.patch @@ -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 diff --git a/packages/gcc/gcc_4.1.1.bb b/packages/gcc/gcc_4.1.1.bb index ee8bfb00d9..48827cc902 100644 --- a/packages/gcc/gcc_4.1.1.bb +++ b/packages/gcc/gcc_4.1.1.bb @@ -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