Re: Getting __FreeBSD_version for a specific commit

From: Nuno Teixeira <eduardo_at_freebsd.org>
Date: Mon, 27 Mar 2023 12:05:46 UTC
Hello Dimitry,

That's it! Just need to navigate trought tree on that commit.
Nice.

Thanks!

Dimitry Andric <dim@freebsd.org> escreveu no dia segunda, 27/03/2023 à(s)
12:29:

> On 27 Mar 2023, at 13:14, Nuno Teixeira <eduardo@freebsd.org> wrote:
> >
> > I need to know what's the __FreeBSD_version for a stable/13 commit
> https://cgit.freebsd.org/src/commit/?h=stable/13&id=1dd126163b9448c2dcfe27978fee50649548437c
> so I can patch a port for, e.g, OSVERSION < 1301XXX.
>
> Go to:
>
>
> https://cgit.freebsd.org/src/tree/sys/sys/param.h?h=stable/13&id=1dd126163b9448c2dcfe27978fee50649548437c
>
> and look for the "#define __FreeBSD_version" line. In this case, it has
> value 1301511.
>
> -Dimitry
>
>

-- 
Nuno Teixeira
FreeBSD Committer (ports)