tcpick: add gcc10(?) fix

This commit is contained in:
Rick Farina (Zero_Chaos) 2020-05-05 15:59:05 -04:00
parent ece7813b68
commit 7a87eb80bd
No known key found for this signature in database
GPG key ID: A29433C0AA431DDC
2 changed files with 13 additions and 0 deletions

View file

@ -0,0 +1,12 @@
diff -Naur tcpick-0.2.1/src/verify.c tcpick-0.2.1-working/src/verify.c
--- tcpick-0.2.1/src/verify.c 2020-05-05 15:55:06.524010213 -0400
+++ tcpick-0.2.1-working/src/verify.c 2020-05-05 15:56:12.387012864 -0400
@@ -92,7 +92,7 @@
tcppacket->rst == 1
-__inline__ int
+static __inline__ int
established_packet ( struct CONN * conn_ptr, struct HOST_DESC * Desc)
/* called by verify()
packets of established connections come here */

View file

@ -25,6 +25,7 @@ src_prepare() {
epatch "${FILESDIR}"/fix-infinite-loop-on-powerpc.patch
epatch "${FILESDIR}"/fix-spelling-errors.patch
epatch "${FILESDIR}"/set-timestamp-pcap-header-structure.patch
epatch "${FILESDIR}"/gcc-10.patch
eapply_user
}