diff options
author | Conrad Kostecki <conikost@gentoo.org> | 2020-05-15 00:08:28 +0200 |
---|---|---|
committer | Conrad Kostecki <conikost@gentoo.org> | 2020-05-15 00:09:53 +0200 |
commit | d46a4b603f00c950de55b62c12c09dd4414652f3 (patch) | |
tree | 696cbdef2484738ae9264d0cf774d7e59b6e8dd3 /dev-libs/cyberjack | |
parent | media-plugins/live: security cleanup (diff) | |
download | gentoo-d46a4b603f00c950de55b62c12c09dd4414652f3.tar.gz gentoo-d46a4b603f00c950de55b62c12c09dd4414652f3.tar.bz2 gentoo-d46a4b603f00c950de55b62c12c09dd4414652f3.zip |
dev-libs/cyberjack: add workaround for gcc10
Add workaround for GCC-10, by defining narrowing as warning like GCC-9 did.
Upstream is informed, so hopefully there will be a proper fix in future.
Bug: https://bugs.gentoo.org/722962
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'dev-libs/cyberjack')
-rw-r--r-- | dev-libs/cyberjack/cyberjack-3.99.5_p13.ebuild | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/dev-libs/cyberjack/cyberjack-3.99.5_p13.ebuild b/dev-libs/cyberjack/cyberjack-3.99.5_p13.ebuild index edde80805904..97f2ad1beba3 100644 --- a/dev-libs/cyberjack/cyberjack-3.99.5_p13.ebuild +++ b/dev-libs/cyberjack/cyberjack-3.99.5_p13.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -7,7 +7,7 @@ MY_PN="pcsc-${PN}" MY_PV="${PV/_p/final.SP}" MY_P="${MY_PN}_${MY_PV}" -inherit autotools linux-info toolchain-funcs udev +inherit autotools flag-o-matic linux-info toolchain-funcs udev DESCRIPTION="REINER SCT cyberJack USB chipcard reader user space driver" HOMEPAGE="https://www.reiner-sct.de/" @@ -32,6 +32,12 @@ S="${WORKDIR}/${MY_P/_/-}" CONFIG_CHECK="~USB_SERIAL_CYBERJACK" +pkg_setup() { + # Add workaround for GCC-10, + # by defining narrowing as warning like GCC-9 did. + append-cxxflags -Wno-narrowing +} + src_prepare() { default |