Please find attached openvas-manager-2.0.4-r1.ebuild that just compiles somehow.
The solution looks ugly, but works.
Created attachment 301023 [details]
Updated openvas-manager ebuild, that compiles
*** Bug 414691 has been marked as a duplicate of this bug. ***
Created attachment 324806 [details]
ebuild for version 3.0.3
Created attachment 324818 [details]
*** This bug has been marked as a duplicate of bug 402379 ***