When wine 1.3.4 is compiled from the ebuild in the main tree -D_FORTIFY_SOURCE=2 is set. This causes problems, notably for me the Office 2007 suite crashes on open/save dialogs.
Reported upstream here:
Now, one of the wine devs kindly pointed out that FORTIFY_SOURCE breaks wine and so I decided to see for myself. I hacked the wine ebuild and sure enough, with -D_FORTIFY_SOURCE=0 the Office 2007 suite now has no such problems with open/save dialogs.
So yeah, this should maybe get unset as I also read in the gcc man page that -O2 enables fortify source macro by default which is probably not what is wanted when compiling wine.
Steps to Reproduce:
1.Compile Wine 1.3.4
2.Install Office 2007
3.Use open/save dialogs
Wine soft crashes.
The open/save dialogs actually work.
Created attachment 250527 [details, diff]
hack for ebuild
This is probably not right at all as my ebuild-fu is still in its maturation stage.
*** This bug has been marked as a duplicate of bug 336887 ***