media-sound/sooperlooper-1.1.0 fails to compile on amd64 using 2006.1 profile from what seems to be an issue with wxGTK. I'm currently running an ~amd64 system with x11-libs/wxGTK-2.6.3.3 . Attached is my build.log and emerge-info.
Created attachment 117916 [details] build.log from sooperlooper-1.1.0 failure
Created attachment 117918 [details] emerge info at the time of compile
This is an upstream bug related to the creative use of pointer variables. The problem is, that the author uses pointers reserved in wx structures for the passing of arbitrary data to pass integers immediately. Then on 64 the casts break because pointer and integer size don't match anymore. I made a patch for 1.0.8c which somehow solves this. However it is ugly and may even break x86. I'll attach it anyway for reference. Unfortunately I don't have time to do it right. :(
Created attachment 118371 [details, diff] amd64-patch for 1.0.8c This makes sooperlooper-1.0.8c work on amd64. It is practically untested, but served a couple of testing runs fine.
Created attachment 118397 [details, diff] sooperlooper-1.1.0-amd64.patch funny we haven't seen this until now. i've applied the following patch to cast to long instead. thanks :D