From be10a6b1321f250b1034c7d9d0a8ef18b296eef1 Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Tue, 2 Nov 2010 22:03:58 +0100 Subject: angstrom-layers: meta-openembedded: replace poky gcc 4.5 sources with OE ones This needs further investigation, but for now we can get the tested sources into the poky gcc harness Signed-off-by: Koen Kooi --- recipes-devtools/gcc/files/gcc-posix-open-fix.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 recipes-devtools/gcc/files/gcc-posix-open-fix.patch (limited to 'recipes-devtools/gcc/files/gcc-posix-open-fix.patch') diff --git a/recipes-devtools/gcc/files/gcc-posix-open-fix.patch b/recipes-devtools/gcc/files/gcc-posix-open-fix.patch new file mode 100644 index 0000000000..99f813e866 --- /dev/null +++ b/recipes-devtools/gcc/files/gcc-posix-open-fix.patch @@ -0,0 +1,11 @@ +--- gcc-3.4.6/gcc/collect2.c 2008-10-04 18:17:17.796750393 +0400 ++++ gcc-3.4.6/gcc/collect2.new 2008-10-04 18:24:10.120748711 +0400 +@@ -1534,7 +1534,7 @@ collect_execute (const char *prog, char + if (redir) + { + /* Open response file. */ +- redir_handle = open (redir, O_WRONLY | O_TRUNC | O_CREAT); ++ redir_handle = open (redir, O_WRONLY | O_TRUNC | O_CREAT, S_IWUSR); + + /* Duplicate the stdout and stderr file handles + so they can be restored later. */ -- cgit v1.2.3-54-g00ecf