* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/ethloop/files/
@ 2020-01-08 8:18 Jeroen Roovers
0 siblings, 0 replies; 2+ messages in thread
From: Jeroen Roovers @ 2020-01-08 8:18 UTC (permalink / raw
To: gentoo-commits
commit: e1c9fbe6785e511fa2218c4349c96c861b23978d
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 8 08:17:49 2020 +0000
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Wed Jan 8 08:18:23 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1c9fbe6
net-analyzer/ethloop: Clean up patch
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>
net-analyzer/ethloop/files/ethloop-10-gcc45.patch | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/net-analyzer/ethloop/files/ethloop-10-gcc45.patch b/net-analyzer/ethloop/files/ethloop-10-gcc45.patch
index 75b95110224..bf905cd44b2 100644
--- a/net-analyzer/ethloop/files/ethloop-10-gcc45.patch
+++ b/net-analyzer/ethloop/files/ethloop-10-gcc45.patch
@@ -1,7 +1,7 @@
Fix recv call (bug #336755), add some more includes.
---- a/ethloop.c 2002-05-03 15:13:20.000000000 +0200
-+++ b/ethloop.c 2010-12-27 18:21:24.000000000 +0100
+--- a/ethloop.c
++++ b/ethloop.c
@@ -1,5 +1,7 @@
/* vim: cin sw=4 ts=4
*/
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/ethloop/files/
@ 2020-12-12 13:35 David Seifert
0 siblings, 0 replies; 2+ messages in thread
From: David Seifert @ 2020-12-12 13:35 UTC (permalink / raw
To: gentoo-commits
commit: fb6ac162174b8215d319a274d53e586fac7bc308
Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Sat Dec 12 13:34:42 2020 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Dec 12 13:34:42 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb6ac162
net-analyzer/ethloop: remove unused patch
Package-Manager: Portage-3.0.11, Repoman-3.0.2
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com>
Signed-off-by: David Seifert <soap <AT> gentoo.org>
net-analyzer/ethloop/files/ethloop-10-gcc45.patch | 32 -----------------------
1 file changed, 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 bf905cd44b2..00000000000
--- 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;
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-12-12 13:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-12 13:35 [gentoo-commits] repo/gentoo:master commit in: net-analyzer/ethloop/files/ David Seifert
-- strict thread matches above, loose matches on Subject: below --
2020-01-08 8:18 Jeroen Roovers
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox