The program named tree can perform a version sort like GNU ls. To do so, it uses the strverscmp function, which is a GNU extension. However, there is an implementation of this function available in the source distribution, used for other operating systems. So I simply use that implementation. Reproducible: Always Steps to Reproduce: 1. emerge app-text/tree on a uclibc system Actual Results: emake died Expected Results: app-text/tree merged on the system
Created attachment 177342 [details] emerge --info
Created attachment 177343 [details] Modified ebuild
I forgot to mention this change could be useful on Gentoo/FreeBSD.
Should be working in tree-1.5.2.2.ebuild