Created attachment 356856 [details, diff] kwave-0.8.10.ebuild.diff works fine, patch attached
Thank you for the report, this is now fixed in CVS.