summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger <m.mairkeimberger@gmail.com>2020-12-12 14:34:42 +0100
committerDavid Seifert <soap@gentoo.org>2020-12-12 14:34:42 +0100
commitfb6ac162174b8215d319a274d53e586fac7bc308 (patch)
tree245811b4ed257381f53f394db4b015989d2a7ac2 /net-analyzer
parentnet-analyzer/cnet: remove unused patch (diff)
downloadgentoo-fb6ac162174b8215d319a274d53e586fac7bc308.tar.gz
gentoo-fb6ac162174b8215d319a274d53e586fac7bc308.tar.bz2
gentoo-fb6ac162174b8215d319a274d53e586fac7bc308.zip
net-analyzer/ethloop: remove unused patch
Package-Manager: Portage-3.0.11, Repoman-3.0.2 Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger@gmail.com> Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/ethloop/files/ethloop-10-gcc45.patch32
1 files changed, 0 insertions, 32 deletions
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 <arpa/inet.h> /* htons() */
-+#include <sys/types.h> /* recv() */
- #include <sys/socket.h>
- #include <sys/ioctl.h>
- #include <sys/poll.h>
-@@ -13,6 +15,7 @@
- #include <stdlib.h>
- #include <sys/time.h>
- #include <signal.h>
-+#include <string.h>
-
- 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;