I'm reporting this bug because the package in summary fails to build when forcing --as-needed on through spec files (check out http://blog.flameeyes.eu/2008/11/14/problems-and-mitigation-strategies-for-as-needed for details). Check the attached build log. Thanks, Diego
Created attachment 173002 [details] Build log
Created attachment 181834 [details, diff] Patch to usb_modeswitch-0.9.4.ebuild to fix link ordering This package calls the compiler directly from the ebuild, so the fix is to patch the ebuild to move the library to appear after the source file. While changing it, $CPPFLAGS are added to the call, for consistency with the LINK.c macro that GNU make uses for the implicit rule "%: %.c".
Thanks for the patch, fixed now.