Created attachment 321094 [details, diff] The patch from debian slightly modified to work in gentoo If you are on amd64 and try to cross-compile media-libs/libvisual for x86 you got an error. This error was fixed in debian a few years ago, see: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=456856
*** Bug 480544 has been marked as a duplicate of this bug. ***
The provided patch works for me.
+ 11 Aug 2013; Alexis Ballier <aballier@gentoo.org> libvisual-0.4.0-r3.ebuild, + +files/libvisual-0.4.0-cond.patch, +files/libvisual-0.4.0-conditions.patch, + +files/libvisual-0.4.0-detect_amd64.patch: + Fix broken cpp check, bug #431066. Fix amd64 detection. Fix broken threads + AC_ARG_ENABLE. + thx! and a few more patches :)