From fb6ac162174b8215d319a274d53e586fac7bc308 Mon Sep 17 00:00:00 2001 From: Michael Mair-Keimberger Date: Sat, 12 Dec 2020 14:34:42 +0100 Subject: net-analyzer/ethloop: remove unused patch Package-Manager: Portage-3.0.11, Repoman-3.0.2 Signed-off-by: Michael Mair-Keimberger Signed-off-by: David Seifert --- net-analyzer/ethloop/files/ethloop-10-gcc45.patch | 32 ----------------------- 1 file changed, 32 deletions(-) delete mode 100644 net-analyzer/ethloop/files/ethloop-10-gcc45.patch (limited to 'net-analyzer') diff --git a/net-analyzer/ethloop/files/ethloop-10-gcc45.patch b/net-analyzer/ethloop/files/ethloop-10-gcc45.patch deleted file mode 100644 index bf905cd44b2c..000000000000 --- a/net-analyzer/ethloop/files/ethloop-10-gcc45.patch +++ /dev/null @@ -1,32 +0,0 @@ -Fix recv call (bug #336755), add some more includes. - ---- a/ethloop.c -+++ b/ethloop.c -@@ -1,5 +1,7 @@ - /* vim: cin sw=4 ts=4 - */ -+#include /* htons() */ -+#include /* recv() */ - #include - #include - #include -@@ -13,6 +15,7 @@ - #include - #include - #include -+#include - - int sock; - -@@ -133,9 +136,9 @@ - int recv_raw(int tmo) - { - struct pollfd pf = {sock,POLLIN,0}; -- int r; unsigned short proto; -+ ssize_t r; unsigned short proto; - if(poll(&pf,1,tmo) <= 0) return 0; -- r = recv(sock,&buf,1550,0); -+ r = recv(sock,&buf,sizeof(buf),0); - if (r <= 0) { - printf("error recv (%d)\n",r); - return 0; -- cgit v1.2.3-65-gdbad