Skip to content
  • Tim van der Molen's avatar
    Enable --version-sort on systems without strverscmp() · 5e4c6de7
    Tim van der Molen authored
    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.
    5e4c6de7