net-analyzer/cacti-spine: Update live ebuild
authorJeroen Roovers <jer@gentoo.org>
Sat, 23 May 2020 18:21:43 +0000 (20:21 +0200)
committerJeroen Roovers <jer@gentoo.org>
Sat, 23 May 2020 18:22:13 +0000 (20:22 +0200)
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
net-analyzer/cacti-spine/cacti-spine-99999.ebuild
net-analyzer/cacti-spine/files/cacti-spine-0.8.8d-ping.patch [deleted file]

index 3eacb02e84723ec86ed56fbc2e58dd8194e9d065..34e6c184a65dca76eefb7b002fedbdc7fc672357 100644 (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
 )
 
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
deleted file mode 100644 (file)
index 55dc875..0000000
+++ /dev/null
@@ -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);