If there are no objections, I would like to add this patch to the 3.0.11 ebuild. Its a very simple fix, and has been reported upstream already. Compiles fine with all versions of GCC for me.
Created attachment 53391 [details, diff] GCC 4 patch
The patch looks fine to me, feel free to add it to 3.0.11 ! Can you point me to the upstream bug ? I want to check later when 3.0.12 comes out if that fix is included or not :) (3.0.12rc1 is allready out)
Yup, here's the upstream bug. https://bugzilla.samba.org/show_bug.cgi?id=2443 I'll add the patch shortly.
Thanks !
Fixed in CVS, and the upstream bug has already been resolved as well.