From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9FC9A1382C5 for ; Wed, 21 Feb 2018 20:44:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F14F8E099F; Wed, 21 Feb 2018 20:44:55 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C0EBEE099F for ; Wed, 21 Feb 2018 20:44:55 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 53D96335C0C for ; Wed, 21 Feb 2018 20:44:53 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A7D141F1 for ; Wed, 21 Feb 2018 20:44:51 +0000 (UTC) From: "Anthony G. Basile" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Anthony G. Basile" Message-ID: <1519245886.95a4d2e630d66a6042b0157b53b9452b3c7b9369.blueness@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/net-snmp/files/, net-analyzer/net-snmp/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-analyzer/net-snmp/files/net-snmp-5.7.3-include-limits.patch net-analyzer/net-snmp/net-snmp-5.7.3-r5.ebuild net-analyzer/net-snmp/net-snmp-5.7.3-r6.ebuild net-analyzer/net-snmp/net-snmp-5.7.3_p3.ebuild X-VCS-Directories: net-analyzer/net-snmp/ net-analyzer/net-snmp/files/ X-VCS-Committer: blueness X-VCS-Committer-Name: Anthony G. Basile X-VCS-Revision: 95a4d2e630d66a6042b0157b53b9452b3c7b9369 X-VCS-Branch: master Date: Wed, 21 Feb 2018 20:44:51 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 7371671b-793c-4630-b8f9-f8f1286132c6 X-Archives-Hash: 895992c95f68f823cac3562cc9aa9a44 commit: 95a4d2e630d66a6042b0157b53b9452b3c7b9369 Author: Anthony G. Basile gentoo org> AuthorDate: Wed Feb 21 20:44:28 2018 +0000 Commit: Anthony G. Basile gentoo org> CommitDate: Wed Feb 21 20:44:46 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95a4d2e6 net-analyzer/net-snmp: add missing include PATH_MAX and NAME_MAX requires according to POSIX. This problem shows up on non-glibc systems. Package-Manager: Portage-2.3.19, Repoman-2.3.6 .../net-snmp/files/net-snmp-5.7.3-include-limits.patch | 15 +++++++++++++++ net-analyzer/net-snmp/net-snmp-5.7.3-r5.ebuild | 3 ++- net-analyzer/net-snmp/net-snmp-5.7.3-r6.ebuild | 3 ++- net-analyzer/net-snmp/net-snmp-5.7.3_p3.ebuild | 3 ++- 4 files changed, 21 insertions(+), 3 deletions(-) diff --git a/net-analyzer/net-snmp/files/net-snmp-5.7.3-include-limits.patch b/net-analyzer/net-snmp/files/net-snmp-5.7.3-include-limits.patch new file mode 100644 index 00000000000..04eafbbe9c5 --- /dev/null +++ b/net-analyzer/net-snmp/files/net-snmp-5.7.3-include-limits.patch @@ -0,0 +1,15 @@ +POSIX requires for PATH_MAX and NAME_MAX + +Author: Anthony G. Basile + +diff -Naur net-snmp-5.7.3.orig/agent/mibgroup/util_funcs/get_pid_from_inode.c net-snmp-5.7.3/agent/mibgroup/util_funcs/get_pid_from_inode.c +--- net-snmp-5.7.3.orig/agent/mibgroup/util_funcs/get_pid_from_inode.c 2014-12-08 15:23:22.000000000 -0500 ++++ net-snmp-5.7.3/agent/mibgroup/util_funcs/get_pid_from_inode.c 2018-02-21 15:34:06.237028136 -0500 +@@ -6,6 +6,7 @@ + + #include + #include ++#include + #if HAVE_STDLIB_H + #include + #endif diff --git a/net-analyzer/net-snmp/net-snmp-5.7.3-r5.ebuild b/net-analyzer/net-snmp/net-snmp-5.7.3-r5.ebuild index 00afce2aacf..11979c188f9 100644 --- a/net-analyzer/net-snmp/net-snmp-5.7.3-r5.ebuild +++ b/net-analyzer/net-snmp/net-snmp-5.7.3-r5.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -81,6 +81,7 @@ src_prepare() { epatch "${WORKDIR}"/${P}-perl524.patch epatch "${WORKDIR}"/${P}-perl524-2.patch + epatch "${FILESDIR}"/${PN}-5.7.3-include-limits.patch epatch "${WORKDIR}"/patches/*.patch diff --git a/net-analyzer/net-snmp/net-snmp-5.7.3-r6.ebuild b/net-analyzer/net-snmp/net-snmp-5.7.3-r6.ebuild index 044f8d6bb31..b89ac3cf3f1 100644 --- a/net-analyzer/net-snmp/net-snmp-5.7.3-r6.ebuild +++ b/net-analyzer/net-snmp/net-snmp-5.7.3-r6.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -81,6 +81,7 @@ src_prepare() { epatch "${WORKDIR}"/${P}-perl524.patch epatch "${WORKDIR}"/${P}-perl524-2.patch + epatch "${FILESDIR}"/${PN}-5.7.3-include-limits.patch epatch "${WORKDIR}"/patches/*.patch diff --git a/net-analyzer/net-snmp/net-snmp-5.7.3_p3.ebuild b/net-analyzer/net-snmp/net-snmp-5.7.3_p3.ebuild index 4175fec18f2..77645313cf3 100644 --- a/net-analyzer/net-snmp/net-snmp-5.7.3_p3.ebuild +++ b/net-analyzer/net-snmp/net-snmp-5.7.3_p3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -82,6 +82,7 @@ src_prepare() { eapply "${WORKDIR}"/${PN}-5.7.3-perl524.patch eapply "${FILESDIR}"/${PN}-5.7.3-perl524-2.patch eapply "${FILESDIR}"/${PN}-5.7.3-mariadb-10.2.patch + eapply "${FILESDIR}"/${PN}-5.7.3-include-limits.patch eapply "${WORKDIR}"/patches/*.patch