Because libXScrnSaver installs a header file in /usr/include that unconditionally requires a header from scrnsaverproto, the latter should be in the RDEPEND of the former.
Fixed in portage and in the overlay without a revbump. Thanks