diff options
author | MANTANI Nobutaka <nobutaka@FreeBSD.org> | 2020-08-25 16:41:52 +0000 |
---|---|---|
committer | MANTANI Nobutaka <nobutaka@FreeBSD.org> | 2020-08-25 16:41:52 +0000 |
commit | 61062d314b306b4467e95815e337a531b0c56b09 (patch) | |
tree | e7a2207e506d9851d4fef2d0b9eb8448d6071792 /net/file2pcap/files/patch-file2pcap.c | |
parent | games/libretro-fbneo: fix build on powerpc* (diff) |
- Update to 1.27 snapshot on 2019-11-22.
- Add patches to avoid build error with -fno-common (default of Clang 11 and GCC 10).
Diffstat (limited to 'net/file2pcap/files/patch-file2pcap.c')
-rw-r--r-- | net/file2pcap/files/patch-file2pcap.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/net/file2pcap/files/patch-file2pcap.c b/net/file2pcap/files/patch-file2pcap.c new file mode 100644 index 000000000000..2f07ecd0703d --- /dev/null +++ b/net/file2pcap/files/patch-file2pcap.c @@ -0,0 +1,11 @@ +--- file2pcap.c.orig 2019-11-21 15:44:46 UTC ++++ file2pcap.c +@@ -61,6 +61,8 @@ const int packetLen4 = (sizeof(SRC_ETHER)-1 + sizeof(D + const int packetLen6 = (sizeof(SRC_ETHER)-1 + sizeof(DST_ETHER)-1 + sizeof(PROTO_ETHER6)-1 + sizeof(struct ip6_hdr) + sizeof(struct tcphdr)); + + ++struct pcap_packet_header ph; ++unsigned short srcport, dstport; + struct handover hoFtp; + + |