1 |
commit: d9106253326707591000d0773071b08cf0760070 |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jun 29 17:07:01 2017 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jun 29 17:07:32 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9106253 |
7 |
|
8 |
net-libs/libprotoident: Obsolete patch. |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.2 |
11 |
|
12 |
...protoident-9999-lpi_find_unknown-snprintf.patch | 22 ---------------------- |
13 |
1 file changed, 22 deletions(-) |
14 |
|
15 |
diff --git a/net-libs/libprotoident/files/libprotoident-9999-lpi_find_unknown-snprintf.patch b/net-libs/libprotoident/files/libprotoident-9999-lpi_find_unknown-snprintf.patch |
16 |
deleted file mode 100644 |
17 |
index 2378c37b9b9..00000000000 |
18 |
--- a/net-libs/libprotoident/files/libprotoident-9999-lpi_find_unknown-snprintf.patch |
19 |
+++ /dev/null |
20 |
@@ -1,22 +0,0 @@ |
21 |
---- a/tools/find_unknown/lpi_find_unknown.cc |
22 |
-+++ b/tools/find_unknown/lpi_find_unknown.cc |
23 |
-@@ -219,7 +219,7 @@ |
24 |
- dump_payload(ident->lpi, 0, pload_out, 500); |
25 |
- dump_payload(ident->lpi, 1, pload_in, 500); |
26 |
- str = (char *)malloc(750); |
27 |
-- snprintf(str, 1000, "%s %s %u %u %u %.3f %.3f %" PRIu64 " %" PRIu64 " %s %s\n", |
28 |
-+ snprintf(str, 750, "%s %s %u %u %u %.3f %.3f %" PRIu64 " %" PRIu64 " %s %s\n", |
29 |
- s_ip, c_ip, |
30 |
- f->id.get_server_port(), f->id.get_client_port(), |
31 |
- f->id.get_protocol(), ident->start_ts, |
32 |
---- a/tools/protoident/lpi_protoident.cc |
33 |
-+++ b/tools/protoident/lpi_protoident.cc |
34 |
-@@ -214,7 +214,7 @@ |
35 |
- dump_payload(ident->lpi, 0, pload_out, 500); |
36 |
- dump_payload(ident->lpi, 1, pload_in, 500); |
37 |
- str = (char *)malloc(750); |
38 |
-- snprintf(str, 1000, "%s %s %s %u %u %u %.3f %.3f %" PRIu64 " %" PRIu64 " %s %s\n", |
39 |
-+ snprintf(str, 750, "%s %s %s %u %u %u %.3f %.3f %" PRIu64 " %" PRIu64 " %s %s\n", |
40 |
- proto->name, s_ip, c_ip, |
41 |
- f->id.get_server_port(), f->id.get_client_port(), |
42 |
- f->id.get_protocol(), ident->start_ts, |