summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <marcin@buglabs.net>2009-11-02 20:48:07 +0100
committerMarcin Juszkiewicz <marcin@buglabs.net>2009-11-02 20:48:07 +0100
commit099fa6714d3378defb18076d6ce750e69c1cbef3 (patch)
treeb60bc9b6a067c82342a9bd9074d59f541f21436c /meta
parentae0e1ad29b6b2c67c37896d3a5f78219d3960ffd (diff)
downloadpoky-099fa6714d3378defb18076d6ce750e69c1cbef3.tar.gz
gcc 3.4.4: fixed Ubuntu 9.10 build
open() require 3 arguments now. Signed-off-by: Marcin Juszkiewicz <marcin@buglabs.net>
Diffstat (limited to 'meta')
-rw-r--r--meta/packages/gcc/gcc-3.4.4.inc3
-rw-r--r--meta/packages/gcc/gcc-3.4.4/hrw-open-needs-3-args.patch13
-rw-r--r--meta/packages/gcc/gcc_3.4.4.bb2
3 files changed, 16 insertions, 2 deletions
diff --git a/meta/packages/gcc/gcc-3.4.4.inc b/meta/packages/gcc/gcc-3.4.4.inc
index 5700a7c831..df99c3b4c7 100644
--- a/meta/packages/gcc/gcc-3.4.4.inc
+++ b/meta/packages/gcc/gcc-3.4.4.inc
@@ -18,7 +18,8 @@ SRC_URI = "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2 \
18 file://GCOV_PREFIX_STRIP-cross-profile_3.4.patch;patch=1 \ 18 file://GCOV_PREFIX_STRIP-cross-profile_3.4.patch;patch=1 \
19 file://zecke-xgcc-cpp.patch;patch=1 \ 19 file://zecke-xgcc-cpp.patch;patch=1 \
20 file://gcc-libgcc2-inhibit-libc.patch;patch=1 \ 20 file://gcc-libgcc2-inhibit-libc.patch;patch=1 \
21 file://gcc4-mtune-compat.patch;patch=1" 21 file://gcc4-mtune-compat.patch;patch=1 \
22 file://hrw-open-needs-3-args.patch"
22 23
23SRC_URI += "file://gcc34-configure.in.patch;patch=1" 24SRC_URI += "file://gcc34-configure.in.patch;patch=1"
24SRC_URI += "file://gcc34-thumb-support.patch;patch=1" 25SRC_URI += "file://gcc34-thumb-support.patch;patch=1"
diff --git a/meta/packages/gcc/gcc-3.4.4/hrw-open-needs-3-args.patch b/meta/packages/gcc/gcc-3.4.4/hrw-open-needs-3-args.patch
new file mode 100644
index 0000000000..8feb5edff0
--- /dev/null
+++ b/meta/packages/gcc/gcc-3.4.4/hrw-open-needs-3-args.patch
@@ -0,0 +1,13 @@
1Index: gcc-3.4.4/gcc/collect2.c
2===================================================================
3--- gcc-3.4.4.orig/gcc/collect2.c 2009-11-02 20:40:02.874934378 +0100
4+++ gcc-3.4.4/gcc/collect2.c 2009-11-02 20:41:12.458939528 +0100
5@@ -1534,7 +1534,7 @@
6 if (redir)
7 {
8 /* Open response file. */
9- redir_handle = open (redir, O_WRONLY | O_TRUNC | O_CREAT);
10+ redir_handle = open (redir, O_WRONLY | O_TRUNC | O_CREAT, 0666);
11
12 /* Duplicate the stdout and stderr file handles
13 so they can be restored later. */
diff --git a/meta/packages/gcc/gcc_3.4.4.bb b/meta/packages/gcc/gcc_3.4.4.bb
index ff7cb7e57b..7ec84b6012 100644
--- a/meta/packages/gcc/gcc_3.4.4.bb
+++ b/meta/packages/gcc/gcc_3.4.4.bb
@@ -1,4 +1,4 @@
1PR = "r8" 1PR = "r9"
2 2
3require gcc-${PV}.inc 3require gcc-${PV}.inc
4require gcc-configure-target.inc 4require gcc-configure-target.inc