Probably the patch from upstream can go into the current ebuild for 3.5.10 ? Reproducible: Always
This needs to be fixed in kdelibs and the file requiring the update is kate/data/perl.xml
fixed for kdelibs-r5, thanks for the patch