diff options
author | 2021-05-13 23:30:16 +0200 | |
---|---|---|
committer | 2021-05-14 01:24:36 +0100 | |
commit | 9cc6e5ae81288c4a3a2c68cdb74368e0378b21a3 (patch) | |
tree | 317bc83ca252d8a5851e957ec1c4f291b794a46e /net-misc/kea/kea-1.8.2.ebuild | |
parent | mail-client/neomutt: Do not call `cc` (diff) | |
download | gentoo-9cc6e5ae81288c4a3a2c68cdb74368e0378b21a3.tar.gz gentoo-9cc6e5ae81288c4a3a2c68cdb74368e0378b21a3.tar.bz2 gentoo-9cc6e5ae81288c4a3a2c68cdb74368e0378b21a3.zip |
net-misc/kea: Fix compiling with GCC 11
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: David Seifert <soap@gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/20798
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-misc/kea/kea-1.8.2.ebuild')
-rw-r--r-- | net-misc/kea/kea-1.8.2.ebuild | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/net-misc/kea/kea-1.8.2.ebuild b/net-misc/kea/kea-1.8.2.ebuild index ef18946d46ac..8fa2128e5ae0 100644 --- a/net-misc/kea/kea-1.8.2.ebuild +++ b/net-misc/kea/kea-1.8.2.ebuild @@ -13,6 +13,7 @@ if [[ ${PV} = 9999* ]] ; then inherit autotools git-r3 EGIT_REPO_URI="https://github.com/isc-projects/kea.git" else + inherit autotools SRC_URI="ftp://ftp.isc.org/isc/kea/${MY_P}.tar.gz ftp://ftp.isc.org/isc/kea/${MY_PV}/${MY_P}.tar.gz" [[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \ @@ -39,9 +40,11 @@ BDEPEND="virtual/pkgconfig" S="${WORKDIR}/${MY_P}" +PATCHES=( "${FILESDIR}"/${PN}-1.8.2-fix-cxx11-detection.patch ) + src_prepare() { default - [[ ${PV} = *9999 ]] && eautoreconf + eautoreconf # Brand the version with Gentoo sed -i \ -e "/VERSION=/s:'$: Gentoo-${PR}':" \ |