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 222B0138359 for ; Sat, 26 Sep 2020 09:12:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4AEC2E069C; Sat, 26 Sep 2020 09:12:12 +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 EDF48E069C for ; Sat, 26 Sep 2020 09:12:11 +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 703D633BE34 for ; Sat, 26 Sep 2020 09:12:10 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DED25373 for ; Sat, 26 Sep 2020 09:12:08 +0000 (UTC) From: "Jeroen Roovers" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jeroen Roovers" Message-ID: <1601111526.3f9fabf33e63547d2a1059222ae750992ed21659.jer@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libdnet/files/, dev-libs/libdnet/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/libdnet/files/libdnet-1.14-strlcpy.patch dev-libs/libdnet/libdnet-1.14.ebuild dev-libs/libdnet/libdnet-9999.ebuild X-VCS-Directories: dev-libs/libdnet/files/ dev-libs/libdnet/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: 3f9fabf33e63547d2a1059222ae750992ed21659 X-VCS-Branch: master Date: Sat, 26 Sep 2020 09:12:08 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: fba3c681-5658-453d-b948-2ba498704e8d X-Archives-Hash: f846333c4e47f01e55c93dbdd02c25f7 commit: 3f9fabf33e63547d2a1059222ae750992ed21659 Author: Jeroen Roovers gentoo org> AuthorDate: Sat Sep 26 09:11:07 2020 +0000 Commit: Jeroen Roovers gentoo org> CommitDate: Sat Sep 26 09:12:06 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f9fabf3 dev-libs/libdnet: python: Include config.h for strlcpy definition Package-Manager: Portage-3.0.8, Repoman-3.0.1 Bug: https://github.com/ofalk/libdnet/pull/60 Signed-off-by: Jeroen Roovers gentoo.org> dev-libs/libdnet/files/libdnet-1.14-strlcpy.patch | 10 ++++++++++ dev-libs/libdnet/libdnet-1.14.ebuild | 3 +++ dev-libs/libdnet/libdnet-9999.ebuild | 3 +++ 3 files changed, 16 insertions(+) diff --git a/dev-libs/libdnet/files/libdnet-1.14-strlcpy.patch b/dev-libs/libdnet/files/libdnet-1.14-strlcpy.patch new file mode 100644 index 00000000000..abc3a6b0f2d --- /dev/null +++ b/dev-libs/libdnet/files/libdnet-1.14-strlcpy.patch @@ -0,0 +1,10 @@ +--- a/python/dnet.c ++++ b/python/dnet.c +@@ -22,6 +22,7 @@ + #endif + __PYX_EXTERN_C double pow(double, double); + #include "dnet.h" ++#include "config.h" + + + typedef struct {const char *s; const void **p;} __Pyx_CApiTabEntry; /*proto*/ diff --git a/dev-libs/libdnet/libdnet-1.14.ebuild b/dev-libs/libdnet/libdnet-1.14.ebuild index 122c57b6274..8e8edf205be 100644 --- a/dev-libs/libdnet/libdnet-1.14.ebuild +++ b/dev-libs/libdnet/libdnet-1.14.ebuild @@ -26,6 +26,9 @@ RESTRICT="test" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" DOCS=( README.md THANKS TODO ) S=${WORKDIR}/${PN}-${P} +PATCHES=( + "${FILESDIR}"/${PN}-1.14-strlcpy.patch +) src_prepare() { default diff --git a/dev-libs/libdnet/libdnet-9999.ebuild b/dev-libs/libdnet/libdnet-9999.ebuild index 3878f74646e..ca4ff35ff01 100644 --- a/dev-libs/libdnet/libdnet-9999.ebuild +++ b/dev-libs/libdnet/libdnet-9999.ebuild @@ -25,6 +25,9 @@ RDEPEND=" RESTRICT="test" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" DOCS=( README.md THANKS TODO ) +PATCHES=( + "${FILESDIR}"/${PN}-1.14-strlcpy.patch +) src_prepare() { default