net-analyzer/cacti-spine: Update live ebuild

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
This commit is contained in:
Jeroen Roovers
2020-05-23 20:21:43 +02:00
parent 1fe26fad62
commit d7f0ab8d2a
2 changed files with 1 additions and 13 deletions

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2019 Gentoo Authors
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -30,7 +30,6 @@ RDEPEND="
>net-analyzer/cacti-0.8.8
"
PATCHES=(
"${FILESDIR}"/${PN}-0.8.8d-ping.patch
"${FILESDIR}"/${PN}-0.8.8g-net-snmp.patch
)

View File

@@ -1,11 +0,0 @@
--- a/ping.c
+++ b/ping.c
@@ -913,7 +913,7 @@
struct hostent result;
buf = malloc(len*sizeof(char));
- memset(buf, 0, sizeof(buf));
+ memset(buf, 0, len*sizeof(char));
while (1) {
hostinfo = gethostbyname_r(hostname, &result, buf, len, &h_errno);