The attached patch is designed to make wxGTK compile without warning on AMD64. Although some of the changes are trivial, (including unused variable comments, etc.) some are needed (such as casting errors and even a gtk2 fix). I will not claim that all of my fixes are pretty but they all appear to work and if you look through what I had to work with you'd understand why. I will submit this patch to the authors and try to get them to fix their code "more correctly".
Created attachment 20583 [details, diff] Patch to wxGTK-2.4.2. Fixes bugs as described in original comments.
Comment on attachment 20583 [details, diff] Patch to wxGTK-2.4.2. Fixes bugs as described in original comments. You could rename this to -amd64 if you'd like to be a little more specific.
Created attachment 20584 [details, diff] Ebuild diff ffor wxGTK-2.4.2.ebuild. Applies attachement 20583.
Created attachment 20593 [details, diff] Remove removal of unused vars from the original patch. Leave unused variables in the source. They don't hurt anything in there and could hurt something by removing them.
have you submitted this patch upstream as well? seems like something that should also be included upstream
ok, done, thanks