mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
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:
@@ -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
|
||||
)
|
||||
|
||||
|
||||
@@ -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);
|
||||
Reference in New Issue
Block a user