diff options
author | Fabian Groffen <grobian@gentoo.org> | 2016-12-20 09:27:40 +0100 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2016-12-20 09:28:08 +0100 |
commit | 6557d42ab43f296d11ce0b249614b3b41ea1cf9e (patch) | |
tree | 5e1c150e7ecbfee4c589a47ac533fb30acb97d7a | |
parent | app-backup/borgbackup: version bump to 1.0.9 (diff) | |
download | gentoo-6557d42ab43f296d11ce0b249614b3b41ea1cf9e.tar.gz gentoo-6557d42ab43f296d11ce0b249614b3b41ea1cf9e.tar.bz2 gentoo-6557d42ab43f296d11ce0b249614b3b41ea1cf9e.zip |
net-misc/openssh: fix compilation on Solaris
Package-Manager: portage-2.3.0
-rw-r--r-- | net-misc/openssh/openssh-7.3_p1-r8.ebuild | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/net-misc/openssh/openssh-7.3_p1-r8.ebuild b/net-misc/openssh/openssh-7.3_p1-r8.ebuild index 29bbe50c24dc..a03905c5b8f6 100644 --- a/net-misc/openssh/openssh-7.3_p1-r8.ebuild +++ b/net-misc/openssh/openssh-7.3_p1-r8.ebuild @@ -162,6 +162,10 @@ src_prepare() { -e '/CFLAGS/s:-ftrapv:-fdisable-this-test:' -e '/OSSH_CHECK_CFLAG_LINK.*-ftrapv/d' ) + # _XOPEN_SOURCE causes header conflicts on Solaris + [[ ${CHOST} == *-solaris* ]] && sed_args+=( + -e 's/-D_XOPEN_SOURCE//' + ) sed -i "${sed_args[@]}" configure{.ac,} || die epatch_user #473004 |