on my 13.2-RELEASE-p2 system, strverscmp(3)'s HISTORY section claims, > The strverscmp() function was added in FreeBSD 14.0. This function was cherry-picked into stable/13 in base 27e60668bf29dc4da3409168967974e7ee3ffddc which was in August 2022, and as such should be in all 13.2+ releases.
(13.1 was released in May 2022: https://www.freebsd.org/releases/13.1R/announce/ and I don't see a cherry-pick into releng/13.1 )
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=09ec5e67a7a6605e5a58a2e3e82dab243a90609a commit 09ec5e67a7a6605e5a58a2e3e82dab243a90609a Author: Mina Galić <freebsd@igalic.co> AuthorDate: 2023-08-31 11:50:17 +0000 Commit: Konstantin Belousov <kib@FreeBSD.org> CommitDate: 2023-08-31 11:52:31 +0000 libc: fix history for strverscmp(3) and versionsort(3) strverscmp(3) and versionsort(3) where first released in 13.2 PR: 273401 Reviewed by: kib MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D41617 lib/libc/gen/scandir.3 | 4 ++-- lib/libc/string/strverscmp.3 | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)
A commit in branch stable/13 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=f920de9a0cbe611a6db6efa5d133dddea2df3a1b commit f920de9a0cbe611a6db6efa5d133dddea2df3a1b Author: Mina Galić <freebsd@igalic.co> AuthorDate: 2023-08-31 11:50:17 +0000 Commit: Konstantin Belousov <kib@FreeBSD.org> CommitDate: 2023-09-03 05:19:23 +0000 libc: fix history for strverscmp(3) and versionsort(3) PR: 273401 (cherry picked from commit 09ec5e67a7a6605e5a58a2e3e82dab243a90609a) lib/libc/gen/scandir.3 | 4 ++-- lib/libc/string/strverscmp.3 | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)
A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=4c509ef95c5d2b359b7276487a05f5e9ce911e3d commit 4c509ef95c5d2b359b7276487a05f5e9ce911e3d Author: Mina Galić <freebsd@igalic.co> AuthorDate: 2023-08-31 11:50:17 +0000 Commit: Konstantin Belousov <kib@FreeBSD.org> CommitDate: 2023-09-03 16:06:36 +0000 libc: fix history for strverscmp(3) and versionsort(3) PR: 273401 Approved by: re (gjb) (cherry picked from commit 09ec5e67a7a6605e5a58a2e3e82dab243a90609a) lib/libc/gen/scandir.3 | 4 ++-- lib/libc/string/strverscmp.3 | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)
Close this PR, commits have been made to the respective branches. Thanks for submitting this PR.