games-puzzle/sgt-puzzles-8605 fails to build with --as-needed due to ordering, the attached patches fix this. It changes the Makefile generator instead of the actual Makefile, because it is a much cleaner diff ;) I'm unsure how easy this is to add to the svn ebuild, as I can't install svn on this system to test it. Thanks for getting this in the tree too, it is one of my favourite packages. Thanks, James Reproducible: Always
Created attachment 201670 [details, diff] sgt-puzzles-8605-as_needed_fix.patch
Created attachment 201672 [details, diff] sgt-puzzles-8605-build_fixes.patch
Created attachment 201674 [details, diff] sgt-puzzles-8605-build_fixes_plus.patch [Thinking about this some more...] Or perhaps this, possibly better, version which wraps the --as-needed fix, and also the sed for pkg-config and xFLAGS changes that are currently in the ebuild. The obvious advantage being that you'll get a loud build failure if the patch fails to apply when bumping instead of the close-to-silence in the event that the sed fixes no longer apply.
Fixed. Thanks for report and suggestions