[oe-commits] Tom Rini : gcc, gcc-native 3.4.6 : Oops, O_CREAT was already fixed

GIT User account git at amethyst.openembedded.net
Sun Dec 7 18:44:38 UTC 2008


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 20e02f754192fbcf0d67e0efb28d04e26d8f6d94
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=20e02f754192fbcf0d67e0efb28d04e26d8f6d94

Author: Tom Rini <trini at embeddedalley.com>
Date:   Sun Dec  7 13:44:40 2008 -0500

gcc, gcc-native 3.4.6 : Oops, O_CREAT was already fixed
Undo my pushing of Jonas Bonn patch as I missed that it was fixed differently.

---

 packages/gcc/gcc-3.4.6.inc                 |    3 +--
 packages/gcc/gcc-3.4.6/O_CREAT-perms.patch |   11 -----------
 2 files changed, 1 insertions(+), 13 deletions(-)

diff --git a/packages/gcc/gcc-3.4.6.inc b/packages/gcc/gcc-3.4.6.inc
index a467860..b1f686b 100644
--- a/packages/gcc/gcc-3.4.6.inc
+++ b/packages/gcc/gcc-3.4.6.inc
@@ -17,8 +17,7 @@ SRC_URI = "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2 \
 	   file://GCOV_PREFIX_STRIP-cross-profile_3.4.patch;patch=1 \
 	   file://zecke-xgcc-cpp.patch;patch=1 \
 	   file://gcc-posix.patch;patch=1 \
-	   file://gcc4-mtune-compat.patch;patch=1 \
-	   file://O_CREAT-perms.patch;patch=1"
+	   file://gcc4-mtune-compat.patch;patch=1"
 
 SRC_URI += "file://gcc34-configure.in.patch;patch=1"
 SRC_URI += "file://gcc34-thumb-support.patch;patch=1"
diff --git a/packages/gcc/gcc-3.4.6/O_CREAT-perms.patch b/packages/gcc/gcc-3.4.6/O_CREAT-perms.patch
deleted file mode 100644
index 1c3af2e..0000000
--- a/packages/gcc/gcc-3.4.6/O_CREAT-perms.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- gcc-3.4.6/gcc/collect2.c.orig	2008-10-20 14:47:56.000000000 +0200
-+++ gcc-3.4.6/gcc/collect2.c	2008-10-20 14:48:49.000000000 +0200
-@@ -1534,7 +1534,7 @@
-   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, 0644);
- 
-       /* Duplicate the stdout and stderr file handles
- 	 so they can be restored later.  */





More information about the Openembedded-commits mailing list