--- /usr/portage/net-misc/openssh/openssh-7.3_p1-r1.ebuild 2016-08-03 20:26:49.000000000 -0400 +++ /opt/portage-local/net-misc/openssh/openssh-7.3_p1-r1.ebuild 2016-08-17 12:04:36.151465000 -0400 @@ -157,6 +157,12 @@ src_prepare() { ) sed -i "${sed_args[@]}" configure{.ac,} || die + # 7.3 added seccomp support to MIPS, but failed to handled the N32 + # case. This patch is temporary until upstream fixes. See + # Gentoo bug #591392 or upstream #2590. + [[ ${CHOST} == mips64*-linux-* && ${ABI} == "n32" ]] \ + && epatch "${FILESDIR}"/${PN}-7.3-mips-seccomp-n32.patch + epatch_user #473004 # Now we can build a sane merged version.h