summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Huettel <dilfridge@gentoo.org>2021-01-01 12:16:21 +0200
committerAndreas K. Huettel <dilfridge@gentoo.org>2021-01-01 12:28:34 +0200
commitb6dbb3f4e857cc95c777f582bed9bbf32743e0cf (patch)
treed2ebabaf455d16ea15c5c0b8d2a7e31f29ce8310 /net-wireless/bladerf/bladerf-2019.07.ebuild
parentnet-libs/libosmocore: Apply -fcommon workaround (diff)
downloadgentoo-b6dbb3f4e857cc95c777f582bed9bbf32743e0cf.tar.gz
gentoo-b6dbb3f4e857cc95c777f582bed9bbf32743e0cf.tar.bz2
gentoo-b6dbb3f4e857cc95c777f582bed9bbf32743e0cf.zip
net-wireless/bladerf: Fix build with gcc-10
Closes: https://bugs.gentoo.org/706664 Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Andreas K. Huettel <dilfridge@gentoo.org>
Diffstat (limited to 'net-wireless/bladerf/bladerf-2019.07.ebuild')
-rw-r--r--net-wireless/bladerf/bladerf-2019.07.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/net-wireless/bladerf/bladerf-2019.07.ebuild b/net-wireless/bladerf/bladerf-2019.07.ebuild
index 3672b069b037..675b62ecbef4 100644
--- a/net-wireless/bladerf/bladerf-2019.07.ebuild
+++ b/net-wireless/bladerf/bladerf-2019.07.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -41,6 +41,10 @@ RDEPEND="${CDEPEND}"
PDEPEND=">=net-wireless/bladerf-firmware-2.3.2
>=net-wireless/bladerf-fpga-0.11.0"
+PATCHES=(
+ "${FILESDIR}/${P}-gcc10.patch"
+)
+
src_unpack() {
if [ "${PV}" = "9999" ]; then
git-r3_src_unpack