From: Fabian Groffen Date: Tue, 24 Oct 2017 12:21:48 +0000 (+0200) Subject: sys-apps/gawk: fix Solaris standards conflict resolution X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5f9d88906c6b49f89b423f720b0296cc01b98bb1;p=gentoo.git sys-apps/gawk: fix Solaris standards conflict resolution Package-Manager: Portage-2.3.8, Repoman-2.3.3 --- diff --git a/sys-apps/gawk/gawk-4.2.0.ebuild b/sys-apps/gawk/gawk-4.2.0.ebuild index da57da475731..231bcb851dcf 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 }