ports/net/packetdrill/files/patch-tcp__options.h
Robert Clausecker f6c3a40927 net/packetdrill: fix build on armv7, FreeBSD 12
- make a symbol new in FreeBSD 13 optional
 - mark a union as packed that will require unaligned access
 - define TEST_TARGET

Approved by:	portmgr (build fix blanket)
MFH:		2023Q4
2023-10-09 03:40:29 -04:00

11 lines
265 B
C

--- tcp_options.h.orig 2023-10-07 04:31:15 UTC
+++ tcp_options.h
@@ -166,7 +166,7 @@ struct tcp_option {
struct {
u8 data[MAX_TCP_OPTION_DATA_BYTES];
} generic;
- };
+ } __packed;
u32 flags; /* meta information, not going on the wire */
} __packed;