[Bug 282773] net/aquantia-atlantic-kmod : build error since 1500027 (struct ifnet i s now hidden)

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 15 Nov 2024 09:16:22 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282773

            Bug ID: 282773
           Summary: net/aquantia-atlantic-kmod: build error since 1500027
                    (struct ifnet is now hidden)
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: olivier@freebsd.org

Hi,

looks like a long due change switch to default on current:
https://lists.freebsd.org/archives/freebsd-net/2024-November/005983.html

And this port doesn’t compile anymore:

aq_main.c:793:31: error: incomplete definition of type 'struct ifnet'
  793 |                 aq_hw_set_promisc(hw, !!(ifp->if_flags & IFF_PROMISC),
      |                                          ~~~^
/usr/include/net/if.h:667:16: note: forward declaration of 'struct ifnet'
  667 | typedef struct ifnet *if_t;
      |                ^

-- 
You are receiving this mail because:
You are the assignee for the bug.