Since newer versions of libbinio has been pushed out, adplug needs proper updates (the -r1 one is masked, and is not proper anyway)
Created attachment 85136 [details, diff] adplug-1.5.1-libbinio.patch
Created attachment 85137 [details] adplug-1.5.1-r2.ebuild
According to http://sourceforge.net/tracker/index.php?func=detail&aid=1294720&group_id=28079&atid=392364 the problem is fixed (somewhat) in cvs of adplug by adding a check for the right CFLAGS and LDFLAGS for libbinio by using pkg-config in the configure script. That however doesn't fix all programs that make use of adplug. They also have to check for the right CFLAGS for libbinio. A nice solution for this could be that adplug installs a adplug.pc file for pkg-config which would include the CFLAGS for libbinio... but that would be up to the adplug devs to decide.
If they later descide to make a .pc file for their project or not, doesn't change the fact that all programs that make use of adplug today in gentoo fails to compile. So atleast I find it needed to apply this patch. Atleast as long as they don't use pkg-config as of today, and projects that take use of adplug shouldn't need to add an unknown CXXFLAGS because of this.
Created attachment 86719 [details] adplug-1.5.1-r2.ebuild Depend on libbinio version 1.4+
Thanks, I've just added this new ebuild to CVS. I'll try to get it to stable on all arches ASAP.