summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2020-06-19 23:55:51 +0200
committerConrad Kostecki <conikost@gentoo.org>2020-06-19 23:55:51 +0200
commit29b4ca712f67c29c464c3f62922e7532d1b1df29 (patch)
tree50a46f060fddd5ee27dbac13d3ca47390820b251 /dev-libs/cyberjack/cyberjack-3.99.5_p14.ebuild
parentapp-misc/lcd4linux: update python plugin to python3 (diff)
downloadgentoo-29b4ca712f67c29c464c3f62922e7532d1b1df29.tar.gz
gentoo-29b4ca712f67c29c464c3f62922e7532d1b1df29.tar.bz2
gentoo-29b4ca712f67c29c464c3f62922e7532d1b1df29.zip
dev-libs/cyberjack: add patch for gcc10
Add a proper patch for compiling with gcc10. Closes: https://bugs.gentoo.org/722962 Package-Manager: Portage-2.3.101, Repoman-2.3.22 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'dev-libs/cyberjack/cyberjack-3.99.5_p14.ebuild')
-rw-r--r--dev-libs/cyberjack/cyberjack-3.99.5_p14.ebuild8
1 files changed, 1 insertions, 7 deletions
diff --git a/dev-libs/cyberjack/cyberjack-3.99.5_p14.ebuild b/dev-libs/cyberjack/cyberjack-3.99.5_p14.ebuild
index 53d0aee2a30f..0f367ddb0929 100644
--- a/dev-libs/cyberjack/cyberjack-3.99.5_p14.ebuild
+++ b/dev-libs/cyberjack/cyberjack-3.99.5_p14.ebuild
@@ -31,13 +31,7 @@ BDEPEND="virtual/pkgconfig"
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.
- # Upstream is working on that.
- append-cxxflags -Wno-narrowing
-}
+PATCHES="${FILESDIR}/${P}-gcc10.patch"
src_prepare() {
default