1 |
commit: d7f0ab8d2a9ae1cb9eb5aab7342605295ed82677 |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat May 23 18:21:43 2020 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat May 23 18:22:13 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7f0ab8d |
7 |
|
8 |
net-analyzer/cacti-spine: Update live ebuild |
9 |
|
10 |
Package-Manager: Portage-2.3.99, Repoman-2.3.22 |
11 |
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org> |
12 |
|
13 |
net-analyzer/cacti-spine/cacti-spine-99999.ebuild | 3 +-- |
14 |
net-analyzer/cacti-spine/files/cacti-spine-0.8.8d-ping.patch | 11 ----------- |
15 |
2 files changed, 1 insertion(+), 13 deletions(-) |
16 |
|
17 |
diff --git a/net-analyzer/cacti-spine/cacti-spine-99999.ebuild b/net-analyzer/cacti-spine/cacti-spine-99999.ebuild |
18 |
index 3eacb02e847..34e6c184a65 100644 |
19 |
--- a/net-analyzer/cacti-spine/cacti-spine-99999.ebuild |
20 |
+++ b/net-analyzer/cacti-spine/cacti-spine-99999.ebuild |
21 |
@@ -1,4 +1,4 @@ |
22 |
-# Copyright 1999-2019 Gentoo Authors |
23 |
+# Copyright 1999-2020 Gentoo Authors |
24 |
# Distributed under the terms of the GNU General Public License v2 |
25 |
|
26 |
EAPI=7 |
27 |
@@ -30,7 +30,6 @@ RDEPEND=" |
28 |
>net-analyzer/cacti-0.8.8 |
29 |
" |
30 |
PATCHES=( |
31 |
- "${FILESDIR}"/${PN}-0.8.8d-ping.patch |
32 |
"${FILESDIR}"/${PN}-0.8.8g-net-snmp.patch |
33 |
) |
34 |
|
35 |
|
36 |
diff --git a/net-analyzer/cacti-spine/files/cacti-spine-0.8.8d-ping.patch b/net-analyzer/cacti-spine/files/cacti-spine-0.8.8d-ping.patch |
37 |
deleted file mode 100644 |
38 |
index 55dc8754c8d..00000000000 |
39 |
--- a/net-analyzer/cacti-spine/files/cacti-spine-0.8.8d-ping.patch |
40 |
+++ /dev/null |
41 |
@@ -1,11 +0,0 @@ |
42 |
---- a/ping.c |
43 |
-+++ b/ping.c |
44 |
-@@ -913,7 +913,7 @@ |
45 |
- struct hostent result; |
46 |
- |
47 |
- buf = malloc(len*sizeof(char)); |
48 |
-- memset(buf, 0, sizeof(buf)); |
49 |
-+ memset(buf, 0, len*sizeof(char)); |
50 |
- |
51 |
- while (1) { |
52 |
- hostinfo = gethostbyname_r(hostname, &result, buf, len, &h_errno); |