www-servers/lynx has libidn as a dependency listed. However it also supports libidn2 and on a system where both are available it'll choose libidn2. Given libidn2 is the successor of libidn, I think it'd make sense to just default to depending on libidn2. Package is maintainer-needed, CCing sam@ who did the last version bump. I can also change it myself of course.
I wonder how many other things are using libidn when they support libidn2. I ended up finding a bunch of these before for libpcre vs libpcre2. Anyway, good spot, thank you, and I'm sorry for not spotting it when I did the bump. Support was added in... """ 2021-07-26 (2.9.0dev.7) * trim extra '/' in the Related-ABS case of HTParse introduced by revision of HTSimplify in 2.9.0dev.3 (Debian #989047) -TD * modify formatting of gopher telnet and tn3270 selectors to skip a leading "/" which produced ill-formed URI (report by Dario Niederman) -TD * modify SGML parsing to allow DEL and INS tags to work on a block-level rather than only inline (Debian #981351) -TD * modify configure script to check for libidn2, add options menu setting for selecting old/new/compat behavior (prompted by patch by Robert Scheck, Redhat #1910971) -TD Further reading: https://nikmav.blogspot.com/2017/04/the-mess-with-internationalized-domain.html https://unicode.org/reports/tr46/ https://datatracker.ietf.org/doc/html/rfc5890 https://datatracker.ietf.org/doc/html/draft-iab-protocol-transitions-01 [...] """ and fortunately I didn't do that bump, so at least I didn't miss it in the diff ;) On it.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3900d43cd935b7c9c6904ae68dcbcab60eb1cf3 commit d3900d43cd935b7c9c6904ae68dcbcab60eb1cf3 Author: Sam James <sam@gentoo.org> AuthorDate: 2023-02-22 16:29:47 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-02-22 16:37:22 +0000 www-client/lynx: fix libidn2 automagic dep As Hanno points out, the build system already prefers libidn2 > libidn if libidn2 is installed. Closes: https://bugs.gentoo.org/895902 Signed-off-by: Sam James <sam@gentoo.org> www-client/lynx/{lynx-2.9.0_pre12.ebuild => lynx-2.9.0_pre12-r1.ebuild} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)