After surf-1.0.4-r1 failed to compile on my amd64 box I decided to try the latest version 1.0.5 of surf. I simply renamed the ebuild in /usr/local/portage and removed the epatch line and the install went smoothly. I've attached the ebuild for those that need/want it. I haven't tested this build on x86 but my guess is that it'll work fine. Thanks.
Created attachment 118079 [details] modified ebuild for surf-1.0.5
in cvs. thanks.