Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
>net-analyzer/cacti-0.8.8
"
PATCHES=(
- "${FILESDIR}"/${PN}-0.8.8d-ping.patch
"${FILESDIR}"/${PN}-0.8.8g-net-snmp.patch
)
+++ /dev/null
---- 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);