summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristoffer Ericson <kristoffer_e1@hotmail.com>2007-01-31 22:07:58 +0000
committerKristoffer Ericson <kristoffer_e1@hotmail.com>2007-01-31 22:07:58 +0000
commit793692a93c0f66668176730ed56c650e3941168b (patch)
tree5fdf2e9bd85c1b6622fa28302385739f44252fe2
parent64af7a52a960292f177b8f02e66f9bdd7371c932 (diff)
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
-rw-r--r--packages/gcc/gcc-4.1.1/sh3-installfix-fixheaders.patch11
-rw-r--r--packages/gcc/gcc_4.1.1.bb1
2 files changed, 12 insertions, 0 deletions
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