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 59BDA158092 for ; Thu, 16 Jun 2022 00:35:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4DA0AE093E; Thu, 16 Jun 2022 00:35:12 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 21D6EE0940 for ; Thu, 16 Jun 2022 00:35:12 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 169C43414A1 for ; Thu, 16 Jun 2022 00:35:11 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3AC4F50A for ; Thu, 16 Jun 2022 00:35:09 +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: <1655339689.af397b3d6dec93a39eb752d80dd10695d654958a.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/cw/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-misc/cw/cw-1.0.16-r4.ebuild X-VCS-Directories: app-misc/cw/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: af397b3d6dec93a39eb752d80dd10695d654958a X-VCS-Branch: master Date: Thu, 16 Jun 2022 00:35:09 +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: 76413b8c-2f10-4df8-bac3-51bbfa8ab2b4 X-Archives-Hash: 92bcb7a0e6024ecc87c756a0c9bd8562 commit: af397b3d6dec93a39eb752d80dd10695d654958a Author: Sam James gentoo org> AuthorDate: Thu Jun 16 00:34:05 2022 +0000 Commit: Sam James gentoo org> CommitDate: Thu Jun 16 00:34:49 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af397b3d app-misc/cw: avoid implicit func. decls Bug: https://bugs.gentoo.org/692426 Signed-off-by: Sam James gentoo.org> app-misc/cw/cw-1.0.16-r4.ebuild | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/app-misc/cw/cw-1.0.16-r4.ebuild b/app-misc/cw/cw-1.0.16-r4.ebuild index 8a1bb807eb9a..b738753f2715 100644 --- a/app-misc/cw/cw-1.0.16-r4.ebuild +++ b/app-misc/cw/cw-1.0.16-r4.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit toolchain-funcs +inherit flag-o-matic toolchain-funcs DESCRIPTION="A non-intrusive real-time ANSI color wrapper for common unix-based commands" HOMEPAGE="http://cwrapper.sourceforge.net" @@ -23,11 +23,15 @@ PATCHES=( src_unpack() { default + gunzip "${S}"/man/*.gz || die } src_configure() { tc-export CC + + append-flags -D_XOPEN_SOURCE=500 -D_GNU_SOURCE + econf } @@ -56,7 +60,7 @@ src_install() { pkg_postinst() { ebegin "Updating definition files" - cwu /usr/libexec/cw /usr/bin/color-wrapper || die # >/dev/null + cwu /usr/libexec/cw /usr/bin/color-wrapper # >/dev/null eend $? elog "To enable color-wrapper, as your user, run:"