Yep, as Alexandre stated this bug disappears when -D_FORTIFY_SOURCE=0 is passed in CFLAGS. So yeah sorry for the noise and this bogus patch that fixes a non-existent problem.
On a side note, what the hell are distributions doing compiling wine with fortify source on? I'm on Gentoo right now and I trust their package maintainers more than other distributions and this is just worrisome.
Alexandre, would you say it is never a good idea to use -D_FORTIFY_SOURCE when compiling wine?
Yep, as Alexandre stated this bug disappears when -D_FORTIFY_SOURCE=0 is passed in CFLAGS. So yeah sorry for the noise and this bogus patch that fixes a non-existent problem.
On a side note, what the hell are distributions doing compiling wine with fortify source on? I'm on Gentoo right now and I trust their package maintainers more than other distributions and this is just worrisome.
Alexandre, would you say it is never a good idea to use -D_FORTIFY_SOURCE when compiling wine?