See upstream bug.
Maybe a look at recent master commits is worth it https://github.com/ygrek/mldonkey/commits/master
Yes, I saw that commit that says "fix build with 4.12", but the commit message also says it still requires unsafe strings, so not really a fix for this issue. That commit only added two lines, the fix for unsafe string will require many more changes.
Should be fixed in 3.2.0 / 3.2.1 now?
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f1821977ea27d5d23a6e32f78ffbcf1776527ca commit 6f1821977ea27d5d23a6e32f78ffbcf1776527ca Author: Jesus P Rey (Chuso) <gentoo@chuso.net> AuthorDate: 2024-09-30 21:04:07 +0000 Commit: Eli Schwartz <eschwartz@gentoo.org> CommitDate: 2024-10-01 23:04:11 +0000 net-p2p/mldonkey: 3.2.1 version bump. Removed inactive and obsolete Sourceforge upstream. Closes: https://bugs.gentoo.org/749609 Closes: https://bugs.gentoo.org/921257 Signed-off-by: Jesus P Rey (Chuso) <gentoo@chuso.net> Closes: https://github.com/gentoo/gentoo/pull/38838 Signed-off-by: Eli Schwartz <eschwartz@gentoo.org> net-p2p/mldonkey/Manifest | 1 + net-p2p/mldonkey/metadata.xml | 1 - net-p2p/mldonkey/mldonkey-3.2.1.ebuild | 128 +++++++++++++++++++++++++++++++++ 3 files changed, 129 insertions(+), 1 deletion(-)