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: http://bugs.winehq.org/show_bug.cgi?id=24606 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. Reproducible: Always Steps to Reproduce: 1.Compile Wine 1.3.4 2.Install Office 2007 3.Use open/save dialogs Actual Results: Wine soft crashes. Expected Results: 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 ***