Re: FreeBSD kernel version 0

From: Baptiste Daroussin <bapt_at_freebsd.org>
Date: Mon, 29 Apr 2024 06:41:35 UTC
On Mon 29 Apr 12:00, Reshad Patuck wrote:
> Hi,
> 
> A little bit of trial testing later, I have got pkg base to compile with
> this patch https://paste.ee/p/Gj985.
> It applies these two lines from Bapt's upstream commits to the releng/14.0
> branch:
> https://gitlab.com/FreeBSD/freebsd-src/-/commit/5faaa602cee093269b1a73156c95c6892b4f098d#cd187a45cb8a1c1a5dc57864fbc7840fa73ac75b_2191_2197
> https://gitlab.com/FreeBSD/freebsd-src/-/commit/5faaa602cee093269b1a73156c95c6892b4f098d#cd187a45cb8a1c1a5dc57864fbc7840fa73ac75b_2227_2234
> 
> This adds '1400097' as the FreeBSD_version annotation in the kernel pkg
> file.
> I don't know if this is of interest but, before this patch only the kernel
> had a value of '0', all other packages had the version '1400097'.
> 
> Since the version has not been bumped since the 14.0 release and I am
> building on 14.0 I do not know if this is an actual fix or just adding the
> version of the host to the pkg file.
> I am just kicking off a full build with my patch now.
> 
> Thanks for the help.
> 

This is the actual fix

Best regards,
Bapt