Here's some fixes for 64bit xorg-x11 on sparc64 linux.
Created attachment 54541 [details, diff] xorg-sparc64.patch
I'm going to mark this UPSTREAM for now, pending acceptance there. Whatever form gets committed there, I'll be happy to add here. Please reopen when that happens.