diff options
author | Sam James <sam@gentoo.org> | 2022-06-16 01:34:05 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-06-16 01:34:49 +0100 |
commit | af397b3d6dec93a39eb752d80dd10695d654958a (patch) | |
tree | fa7d47d5e0f99fbb5e39d819f5283a57b981cd8e /app-misc/cw | |
parent | app-misc/cw: EAPI 8, fix build (diff) | |
download | gentoo-af397b3d6dec93a39eb752d80dd10695d654958a.tar.gz gentoo-af397b3d6dec93a39eb752d80dd10695d654958a.tar.bz2 gentoo-af397b3d6dec93a39eb752d80dd10695d654958a.zip |
app-misc/cw: avoid implicit func. decls
Bug: https://bugs.gentoo.org/692426
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-misc/cw')
-rw-r--r-- | app-misc/cw/cw-1.0.16-r4.ebuild | 10 |
1 files 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:" |