See attached build log.
(Please do not complain about the need for looking at the build log until you can provide an easy way to open bugs with the correct data picked out of a tinderbox log. Thanks.)
Created attachment 244699 [details]
Created attachment 244831 [details]
ebuild to apply ld flags patch below and adds a die statement to the patching process
Created attachment 244833 [details, diff]
Please test before making this live. I only use alsa, so jack and oss are untested.
Created attachment 244835 [details]
real ebuild that applies the fix-ldflag patch and adds a die statement to the patching
applied something similar to 1.4