Age | Commit message (Collapse) | Author | Lines | |
---|---|---|---|---|
2020-06-15 | Enable --version-sort on systems without strverscmp() | Tim van der Molen | -0/+57 | |
The --version-sort option requires strverscmp(), but this is a glibc extension that does not exist on OpenBSD and other systems. To enable --version-sort on those systems, provide an internal implementation of strverscmp(). The implementation is from the musl C library and is MIT-licensed. The build process remains the same: the verscmp flag should be set to 1 only if strverscmp() is available in libc. If verscmp is 0, then the internal implementation is used. |