From 61062d314b306b4467e95815e337a531b0c56b09 Mon Sep 17 00:00:00 2001 From: MANTANI Nobutaka Date: Tue, 25 Aug 2020 16:41:52 +0000 Subject: - 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). --- net/file2pcap/files/patch-file2pcap.c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 net/file2pcap/files/patch-file2pcap.c (limited to 'net/file2pcap/files/patch-file2pcap.c') 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; + + -- cgit v1.2.3