projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25b1a6a
)
sys-apps/gawk: fix Solaris standards conflict resolution
author
Fabian Groffen
<grobian@gentoo.org>
Tue, 24 Oct 2017 12:21:48 +0000
(14:21 +0200)
committer
Fabian Groffen
<grobian@gentoo.org>
Tue, 24 Oct 2017 12:42:57 +0000
(14:42 +0200)
Package-Manager: Portage-2.3.8, Repoman-2.3.3
sys-apps/gawk/gawk-4.2.0.ebuild
patch
|
blob
|
history
diff --git
a/sys-apps/gawk/gawk-4.2.0.ebuild
b/sys-apps/gawk/gawk-4.2.0.ebuild
index da57da47573136954dc9130bf777c2aef8841585..231bcb851dcf000681ed252153445a6f5888841d 100644
(file)
--- 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
}