diff options
author | Mike Gilbert <floppym@gentoo.org> | 2020-01-28 12:00:37 -0500 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2020-01-28 12:00:56 -0500 |
commit | 863c825a497d3614d35a73cb2c4c1de95a709ca4 (patch) | |
tree | 664811464fa1818327a58c75c20243b332176376 /net-ftp/tftp-hpa/tftp-hpa-5.2-r1.ebuild | |
parent | dev-libs/expat: 2.2.9 + de-warn insinto (diff) | |
download | gentoo-863c825a497d3614d35a73cb2c4c1de95a709ca4.tar.gz gentoo-863c825a497d3614d35a73cb2c4c1de95a709ca4.tar.bz2 gentoo-863c825a497d3614d35a73cb2c4c1de95a709ca4.zip |
net-ftp/tftp-hpa: fix build with gcc-10
Closes: https://bugs.gentoo.org/705834
Package-Manager: Portage-2.3.85_p2, Repoman-2.3.20_p36
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'net-ftp/tftp-hpa/tftp-hpa-5.2-r1.ebuild')
-rw-r--r-- | net-ftp/tftp-hpa/tftp-hpa-5.2-r1.ebuild | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/net-ftp/tftp-hpa/tftp-hpa-5.2-r1.ebuild b/net-ftp/tftp-hpa/tftp-hpa-5.2-r1.ebuild index cafb4a385487..78723b2d830f 100644 --- a/net-ftp/tftp-hpa/tftp-hpa-5.2-r1.ebuild +++ b/net-ftp/tftp-hpa/tftp-hpa-5.2-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="5" @@ -24,7 +24,9 @@ DEPEND="${CDEPEND} RDEPEND="${CDEPEND} selinux? ( sec-policy/selinux-tftp ) " + src_prepare() { + epatch "${FILESDIR}"/tftp-hpa-5.2-gcc-10.patch epatch_user sed -i "/^AR/s:ar:$(tc-getAR):" MCONFIG.in || die |