diff options
author | Marcin Juszkiewicz <marcin@buglabs.net> | 2009-11-02 20:48:07 +0100 |
---|---|---|
committer | Marcin Juszkiewicz <marcin@buglabs.net> | 2009-11-02 20:48:07 +0100 |
commit | 099fa6714d3378defb18076d6ce750e69c1cbef3 (patch) | |
tree | b60bc9b6a067c82342a9bd9074d59f541f21436c /meta/packages/gcc/gcc-3.4.4 | |
parent | ae0e1ad29b6b2c67c37896d3a5f78219d3960ffd (diff) | |
download | poky-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/packages/gcc/gcc-3.4.4')
-rw-r--r-- | meta/packages/gcc/gcc-3.4.4/hrw-open-needs-3-args.patch | 13 |
1 files changed, 13 insertions, 0 deletions
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 @@ | |||
1 | Index: 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. */ | ||