Re: FreeBSD Port: net/realtek-re-kmod

From: Andrey V. Elsukov <bu7cher_at_yandex.ru>
Date: Mon, 02 Dec 2024 12:38:06 UTC
On 01.12.2024 16:40, Mike Jakubik wrote:
> Hello,
> 
> 
> Seems like it wont compile on recent current, noticed about  2 days ago 
> and /usr/src/sys/sys/mbuf.h hasnt been touched it seems.

> if_re.c:5552:20: error: incomplete definition of type 'struct ifnet'
> 5552 |                 ifp->if_capabilities &= ~(IFCAP_TSO6 | 

Hi,

struct ifnet was closed from public users in 
https://reviews.freebsd.org/D39621

Driver must use public ifAPI. Meanwhile you can create `files` directory 
in the port directory an put this patch there:

-- 
WBR, Andrey V. Elsukov