Created attachment 499602 [details, diff] khtml-5.39-openssl-1.1.patch Fails to compile with dev-libs/openssl-1.1.0f in the same way as: Bug 635036 - kde-frameworks/kdelibs4support-5.39.0 with openssl 1.1.0f error: Expected ';' at end of member declaration The patch is just the relevant parts of the patches from the above bug tweaked to apply.
Has this been reported to upstream yet? It would be good to have this asap in master to get enough testing for 5.40.0.
5.47.0 built fine for me.