ports/net/aoe/files/patch-aoe.h
Chad Fraleigh 20f05250fa net/aoe: fix build on non-x86
While we are at it:

 - remove BROKEN_... lines for FreeBSD versions out of support
 - drop homegrown do-install in favour of USES=uidfix
 - install kernel module into standard location
 - attempt to fix the build on FreeBSD 13

Still doesn't work on FreeBSD 13.2.  While it builds, the code now
fails at runtime, apparently when it tries to dereference vnet_entry_ifnet
in the line

    IFNET_FOREACH(ifp)

in aoenet_xmitbcast.

PR:		239891
2023-09-10 12:12:56 -04:00

10 lines
179 B
C

--- aoe.h.orig 2023-09-05 13:45:55 UTC
+++ aoe.h
@@ -167,6 +167,7 @@ struct ifnet;
struct mbuf;
struct mtx;
+#define frame aoeframe
struct frame {
int f_tag;
int f_mlen;