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