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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 44484158095 for ; Sun, 10 Jul 2022 15:45:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 04B77E0CE6; Sun, 10 Jul 2022 15:45:49 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D0B38E0CE6 for ; Sun, 10 Jul 2022 15:45:48 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CDED1340D48 for ; Sun, 10 Jul 2022 15:45:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1115053D for ; Sun, 10 Jul 2022 15:45:45 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1657467928.e906be651e077ccff5da8b0291a731cf830197a8.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/clrngd/files/, sys-apps/clrngd/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/clrngd/clrngd-1.0.3-r1.ebuild sys-apps/clrngd/clrngd-1.0.3.ebuild sys-apps/clrngd/files/clrngd-1.0.3-implicit-func-declaration.patch X-VCS-Directories: sys-apps/clrngd/ sys-apps/clrngd/files/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: e906be651e077ccff5da8b0291a731cf830197a8 X-VCS-Branch: master Date: Sun, 10 Jul 2022 15:45:45 +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: 78f11a27-6669-4b26-a507-7a564d6cdbfe X-Archives-Hash: fd10659f7947bb316bc282285262b352 commit: e906be651e077ccff5da8b0291a731cf830197a8 Author: Sam James gentoo org> AuthorDate: Sun Jul 10 15:45:09 2022 +0000 Commit: Sam James gentoo org> CommitDate: Sun Jul 10 15:45:28 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e906be65 sys-apps/clrngd: EAPI 8; fix implicit func. decl Signed-off-by: Sam James gentoo.org> ...{clrngd-1.0.3.ebuild => clrngd-1.0.3-r1.ebuild} | 16 +++++++++++-- .../clrngd-1.0.3-implicit-func-declaration.patch | 27 ++++++++++++++++++++++ 2 files changed, 41 insertions(+), 2 deletions(-) diff --git a/sys-apps/clrngd/clrngd-1.0.3.ebuild b/sys-apps/clrngd/clrngd-1.0.3-r1.ebuild similarity index 70% rename from sys-apps/clrngd/clrngd-1.0.3.ebuild rename to sys-apps/clrngd/clrngd-1.0.3-r1.ebuild index 6cc2a27825b2..086359cbc77f 100644 --- a/sys-apps/clrngd/clrngd-1.0.3.ebuild +++ b/sys-apps/clrngd/clrngd-1.0.3-r1.ebuild @@ -1,7 +1,9 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=8 + +inherit autotools DESCRIPTION="Clock randomness gathering daemon" HOMEPAGE="http://echelon.pl/pubs/" @@ -11,6 +13,16 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 x86" +PATCHES=( + "${FILESDIR}"/${PN}-1.0.3-implicit-func-declaration.patch +) + +src_prepare() { + default + + eautoreconf +} + src_configure() { econf --bindir="${EPREFIX}"/usr/sbin } diff --git a/sys-apps/clrngd/files/clrngd-1.0.3-implicit-func-declaration.patch b/sys-apps/clrngd/files/clrngd-1.0.3-implicit-func-declaration.patch new file mode 100644 index 000000000000..075866ec8044 --- /dev/null +++ b/sys-apps/clrngd/files/clrngd-1.0.3-implicit-func-declaration.patch @@ -0,0 +1,27 @@ +--- a/clrngd.c ++++ b/clrngd.c +@@ -14,6 +14,13 @@ + #include + #include + #include ++ ++#ifdef HAVE_STROPT_H ++#include ++#else ++#include ++#endif ++ + #include + #include + #include +--- a/configure.in ++++ b/configure.in +@@ -18,7 +18,7 @@ dnl Checks for libraries. + + dnl Checks for header files. + AC_HEADER_STDC +-AC_CHECK_HEADERS(unistd.h sys/param.h sys/time.h time.h sys/mkdev.h sys/sysmacros.h string.h memory.h fcntl.h dirent.h sys/ndir.h ndir.h alloca.h locale.h ) ++AC_CHECK_HEADERS(unistd.h sys/param.h sys/time.h time.h sys/mkdev.h sys/sysmacros.h string.h memory.h fcntl.h dirent.h sys/ndir.h ndir.h alloca.h locale.h stropts.h) + + jm_CHECK_TYPE_STRUCT_UTIMBUF + AC_HEADER_MAJOR