mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-22 06:41:01 +02:00
tcpick: add gcc10(?) fix
This commit is contained in:
parent
ece7813b68
commit
7a87eb80bd
2 changed files with 13 additions and 0 deletions
12
net-misc/tcpick/files/gcc-10.patch
Normal file
12
net-misc/tcpick/files/gcc-10.patch
Normal 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 */
|
||||
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue