diff -Nru gcc-h8300-hms-3.4.6/debian/changelog gcc-h8300-hms-3.4.6/debian/changelog --- gcc-h8300-hms-3.4.6/debian/changelog 2011-06-08 22:38:58.000000000 +0000 +++ gcc-h8300-hms-3.4.6/debian/changelog 2011-08-29 08:35:40.000000000 +0000 @@ -1,3 +1,9 @@ +gcc-h8300-hms (1:3.4.6-6ubuntu1) oneiric; urgency=low + + * Fix build failure. LP: #755975. + + -- Matthias Klose Mon, 29 Aug 2011 10:34:59 +0200 + gcc-h8300-hms (1:3.4.6-6) unstable; urgency=low * Switch to dpkg-source 3.0 (quilt) format diff -Nru gcc-h8300-hms-3.4.6/debian/patches/fix_ftbs.diff gcc-h8300-hms-3.4.6/debian/patches/fix_ftbs.diff --- gcc-h8300-hms-3.4.6/debian/patches/fix_ftbs.diff 1970-01-01 00:00:00.000000000 +0000 +++ gcc-h8300-hms-3.4.6/debian/patches/fix_ftbs.diff 2011-08-29 08:34:21.000000000 +0000 @@ -0,0 +1,11 @@ +--- a/gcc/collect2.c ++++ b/gcc/collect2.c +@@ -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); + + /* Duplicate the stdout and stderr file handles + so they can be restored later. */ diff -Nru gcc-h8300-hms-3.4.6/debian/patches/series gcc-h8300-hms-3.4.6/debian/patches/series --- gcc-h8300-hms-3.4.6/debian/patches/series 2011-06-08 22:30:47.000000000 +0000 +++ gcc-h8300-hms-3.4.6/debian/patches/series 2011-08-29 08:34:54.000000000 +0000 @@ -25,3 +25,4 @@ manpages.dpatch bin_false_fixup debian-changes-1:3.4.6-6 +fix_ftbs.diff