diff options
author | 2009-03-02 00:20:32 +0000 | |
---|---|---|
committer | 2009-03-02 00:20:32 +0000 | |
commit | 9099a3406644f53d93668bd98d09a29078aede8c (patch) | |
tree | f3da8005847a52afc0a0d3e58a6d7d21c7d1258d /app-benchmarks/contest/files | |
parent | Version bumped. (diff) | |
download | gentoo-2-9099a3406644f53d93668bd98d09a29078aede8c.tar.gz gentoo-2-9099a3406644f53d93668bd98d09a29078aede8c.tar.bz2 gentoo-2-9099a3406644f53d93668bd98d09a29078aede8c.zip |
Fix for gcc 4.3.3 / fortify_sources. Adding ~amd64 keyword. Patch by Magnus Granberg. Closes #260451
(Portage version: 2.2_rc23/cvs/Linux x86_64)
Diffstat (limited to 'app-benchmarks/contest/files')
-rw-r--r-- | app-benchmarks/contest/files/contest-fortify_sources.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/app-benchmarks/contest/files/contest-fortify_sources.patch b/app-benchmarks/contest/files/contest-fortify_sources.patch new file mode 100644 index 000000000000..cb2e6d6dd639 --- /dev/null +++ b/app-benchmarks/contest/files/contest-fortify_sources.patch @@ -0,0 +1,11 @@ +--- bmark.c 2009-02-27 23:13:44.000000000 +0000 ++++ bmark.c 2009-02-27 23:12:44.000000000 +0000 +@@ -47,7 +47,7 @@ + } + /* child */ + +- if((tmpfd=open(TMP_FILE, O_RDWR|O_CREAT|O_TRUNC))==-1){ ++ if((tmpfd=open(TMP_FILE, O_RDWR|O_CREAT|O_TRUNC, S_IRUSR|S_IWUSR))==-1){ + printsys("Could not open temporary file\n"); + } + if(dup2(tmpfd, TMP_FD)==-1){ |