Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Mar 2023 13:29:17 +0200
From:      Dimitry Andric <dim@FreeBSD.org>
To:        Nuno Teixeira <eduardo@freebsd.org>
Cc:        freebsd-git <freebsd-git@freebsd.org>
Subject:   Re: Getting __FreeBSD_version for a specific commit
Message-ID:  <8CEBB312-FCC1-4B52-99FB-1DE7F94028FB@FreeBSD.org>
In-Reply-To: <CAFDf7ULNvvmQ8fT0mD1v62rNCV0xjssdSPT=Jzq89-tZLGq7bw@mail.gmail.com>
References:  <CAFDf7ULNvvmQ8fT0mD1v62rNCV0xjssdSPT=Jzq89-tZLGq7bw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail=_9F74F85C-1BDE-4DD8-AD07-7894F01294AD
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

On 27 Mar 2023, at 13:14, Nuno Teixeira <eduardo@freebsd.org> wrote:
>=20
> I need to know what's the __FreeBSD_version for a stable/13 commit =
https://cgit.freebsd.org/src/commit/?h=3Dstable/13&id=3D1dd126163b9448c2dc=
fe27978fee50649548437c so I can patch a port for, e.g, OSVERSION < =
1301XXX.

Go to:

=
https://cgit.freebsd.org/src/tree/sys/sys/param.h?h=3Dstable/13&id=3D1dd12=
6163b9448c2dcfe27978fee50649548437c

and look for the "#define __FreeBSD_version" line. In this case, it has =
value 1301511.

-Dimitry


--Apple-Mail=_9F74F85C-1BDE-4DD8-AD07-7894F01294AD
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.2

iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCZCF+DQAKCRCwXqMKLiCW
o08EAJ9E88riyKF7OhWBQdX7x9DIRB4kQACgwwZPVt/6jpsFk1hlRLMist10u5g=
=SoEe
-----END PGP SIGNATURE-----

--Apple-Mail=_9F74F85C-1BDE-4DD8-AD07-7894F01294AD--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8CEBB312-FCC1-4B52-99FB-1DE7F94028FB>