-
- Downloads
Enable --version-sort on systems without strverscmp()
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.
Showing
- README.md 1 addition, 1 deletionREADME.md
- config.mk 1 addition, 4 deletionsconfig.mk
- man/Makefile 0 additions, 1 deletionman/Makefile
- man/feh.pre 0 additions, 4 deletionsman/feh.pre
- src/Makefile 4 additions, 0 deletionssrc/Makefile
- src/feh.h 4 additions, 1 deletionsrc/feh.h
- src/filelist.c 0 additions, 4 deletionssrc/filelist.c
- src/options.c 0 additions, 4 deletionssrc/options.c
- src/strverscmp.c 57 additions, 0 deletionssrc/strverscmp.c
Loading
Please register or sign in to comment