diff --git a/gcc-o_creat.dif b/gcc-o_creat.dif new file mode 100644 index 0000000..a1d3d65 --- /dev/null +++ b/gcc-o_creat.dif @@ -0,0 +1,11 @@ +--- gcc/collect2.c ++++ gcc/collect2.c 2007/12/10 12:45:07 +@@ -1572,7 +1572,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. */ diff --git a/qemu.changes b/qemu.changes index 50d779e..a4416f8 100644 --- a/qemu.changes +++ b/qemu.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Dec 10 14:29:42 CET 2007 - uli@suse.de + +- fixed open() usage with O_CREAT + ------------------------------------------------------------------- Tue Nov 13 15:54:45 CET 2007 - uli@suse.de diff --git a/qemu.spec b/qemu.spec index 4cb028b..f05a997 100644 --- a/qemu.spec +++ b/qemu.spec @@ -17,7 +17,7 @@ License: BSD 3-Clause; GPL v2 or later; LGPL v2.1 or later; X11/MIT Group: System/Emulators/PC Summary: Universal CPU emulator Version: 0.9.0.cvs -Release: 50 +Release: 57 Source: %name-%version.tar.bz2 #Patch400: qemu-0.7.0-gcc4-dot-syms.patch #Patch401: qemu-0.8.0-gcc4-hacks.patch @@ -98,6 +98,7 @@ Patch663: gcc-ppc-nostartfileprefix.patch Patch664: gcc-ppc-nof.patch Patch700: gcc-abuildappease.patch Patch701: gcc-3.3.5.dif +Patch702: gcc-o_creat.dif # this is to make lint happy Source300: rpmlintrc BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -192,6 +193,7 @@ cd gcc-3.3.5 #%endif %patch700 -p1 %patch701 +%patch702 cd .. %endif @@ -308,7 +310,10 @@ rm -rf %{gcc33tmp} %ifnarch %ix86 x86_64 ia64 %dir /emul/ia32-linux %endif + %changelog +* Mon Dec 10 2007 - uli@suse.de +- fixed open() usage with O_CREAT * Tue Nov 13 2007 - uli@suse.de - update -> current CVS: - Read-only support for Parallels disk images (Alex Beregszaszi)