summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakov Smolic <jakov.smolic@sartura.hr>2021-02-14 11:32:51 +0100
committerDavid Seifert <soap@gentoo.org>2021-02-14 11:32:51 +0100
commit01d46a46cbebb9039d6958046262572caac90cb3 (patch)
tree7a6b62d25b29ebbec42cc5ed9756164654e3543e
parentmedia-video/subtitler-yuv: Apply gcc-10 workaround (diff)
downloadgentoo-01d46a46cbebb9039d6958046262572caac90cb3.tar.gz
gentoo-01d46a46cbebb9039d6958046262572caac90cb3.tar.bz2
gentoo-01d46a46cbebb9039d6958046262572caac90cb3.zip
net-misc/cgminer: Apply gcc-10 workaround
* Upstream inactive since 2018 Closes: https://bugs.gentoo.org/707436 Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr> Signed-off-by: David Seifert <soap@gentoo.org>
-rw-r--r--net-misc/cgminer/cgminer-4.10.0.ebuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/net-misc/cgminer/cgminer-4.10.0.ebuild b/net-misc/cgminer/cgminer-4.10.0.ebuild
index 1ac87f413dbc..bcfc4b2aa996 100644
--- a/net-misc/cgminer/cgminer-4.10.0.ebuild
+++ b/net-misc/cgminer/cgminer-4.10.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -19,7 +19,8 @@ IUSE="doc examples udev hardened ncurses ${HARDWARE}"
REQUIRED_USE="|| ( ${HARDWARE} )"
-RDEPEND="net-misc/curl
+RDEPEND="
+ net-misc/curl
>=dev-libs/jansson-2.6
virtual/libusb:1[udev]
ncurses? ( sys-libs/ncurses:0= )
@@ -29,6 +30,7 @@ BDEPEND="virtual/pkgconfig"
src_configure() {
use hardened && append-cflags "-no-pie"
+ append-cflags -fcommon
# PKG_CHECK_MODULES needs PKG_CONFIG for --with-system-jansson.
export PKG_CONFIG="$(tc-getPKG_CONFIG)"