Here's a patch (originally from mandrake) to get emacs to compile on x86_64 systems. Previously, it would not compile for a variety of reasons. Reproducible: Always Steps to Reproduce:
Created attachment 22164 [details, diff] Fixes compilation on amd64
Created attachment 22165 [details, diff] fix emacs on amd64
done, thanks!