commit: 5f9d88906c6b49f89b423f720b0296cc01b98bb1 Author: Fabian Groffen <grobian <AT> gentoo <DOT> org> AuthorDate: Tue Oct 24 12:21:48 2017 +0000 Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org> CommitDate: Tue Oct 24 12:42:57 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f9d8890
sys-apps/gawk: fix Solaris standards conflict resolution Package-Manager: Portage-2.3.8, Repoman-2.3.3 sys-apps/gawk/gawk-4.2.0.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys-apps/gawk/gawk-4.2.0.ebuild b/sys-apps/gawk/gawk-4.2.0.ebuild index da57da47573..231bcb851dc 100644 --- a/sys-apps/gawk/gawk-4.2.0.ebuild +++ b/sys-apps/gawk/gawk-4.2.0.ebuild @@ -38,7 +38,8 @@ src_prepare() { # fix standards conflict on Solaris if [[ ${CHOST} == *-solaris* ]] ; then sed -i \ - -e '/\<_XOPEN_SOURCE\>/s/$/600/' \ + -e '/\<_XOPEN_SOURCE\>/s/1$/600/' \ + -e '/\<_XOPEN_SOURCE_EXTENDED\>/s/1//' \ extension/inplace.c || die fi }