summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Shvetsov <alexxy@gentoo.org>2019-10-08 14:36:14 +0300
committerAlexey Shvetsov <alexxy@gentoo.org>2019-10-08 17:35:20 +0300
commit1193c695e7acd1c77848779e1d6c9f5dc3d8a82d (patch)
tree481de3c5b245620b366eb55145f4db6daf25c86a
parentmedia-plugins/kodi-pvr-mythtv: 5.10.13 version bump (diff)
downloadgentoo-1193c695e7acd1c77848779e1d6c9f5dc3d8a82d.tar.gz
gentoo-1193c695e7acd1c77848779e1d6c9f5dc3d8a82d.tar.bz2
gentoo-1193c695e7acd1c77848779e1d6c9f5dc3d8a82d.zip
dev-libs/hyperscan: Fix build for gcc9.x
Closes: https://bugs.gentoo.org/685618 Closes: https://bugs.gentoo.org/691384 Closes: https://bugs.gentoo.org/696856 Package-Manager: Portage-2.3.76, Repoman-2.3.17 Signed-off-by: Alexey Shvetsov <alexxy@gentoo.org>
-rw-r--r--dev-libs/hyperscan/hyperscan-5.1.1.ebuild8
-rw-r--r--dev-libs/hyperscan/hyperscan-5.2.0.ebuild8
2 files changed, 14 insertions, 2 deletions
diff --git a/dev-libs/hyperscan/hyperscan-5.1.1.ebuild b/dev-libs/hyperscan/hyperscan-5.1.1.ebuild
index 100dba02f5a..7a0a28063f9 100644
--- a/dev-libs/hyperscan/hyperscan-5.1.1.ebuild
+++ b/dev-libs/hyperscan/hyperscan-5.1.1.ebuild
@@ -5,7 +5,7 @@ EAPI=6
PYTHON_COMPAT=( python2_7 )
-inherit cmake-utils python-r1
+inherit cmake-utils python-r1 flag-o-matic
DESCRIPTION="High-performance regular expression matching library"
SRC_URI="https://github.com/01org/hyperscan/archive/v${PV}.tar.gz -> ${P}.tar.gz"
@@ -24,6 +24,12 @@ DEPEND="${RDEPEND}"
REQUIRED_USE="cpu_flags_x86_ssse3 ${PYTHON_REQUIRED_USE}"
+src_prepare() {
+ # upstream workaround
+ append-cxxflags -Wno-redundant-move
+ cmake-utils_src_prepare
+}
+
src_configure() {
local mycmakeargs=(
-DBUILD_SHARED_LIBS=$(usex static-libs OFF ON)
diff --git a/dev-libs/hyperscan/hyperscan-5.2.0.ebuild b/dev-libs/hyperscan/hyperscan-5.2.0.ebuild
index 100dba02f5a..7a0a28063f9 100644
--- a/dev-libs/hyperscan/hyperscan-5.2.0.ebuild
+++ b/dev-libs/hyperscan/hyperscan-5.2.0.ebuild
@@ -5,7 +5,7 @@ EAPI=6
PYTHON_COMPAT=( python2_7 )
-inherit cmake-utils python-r1
+inherit cmake-utils python-r1 flag-o-matic
DESCRIPTION="High-performance regular expression matching library"
SRC_URI="https://github.com/01org/hyperscan/archive/v${PV}.tar.gz -> ${P}.tar.gz"
@@ -24,6 +24,12 @@ DEPEND="${RDEPEND}"
REQUIRED_USE="cpu_flags_x86_ssse3 ${PYTHON_REQUIRED_USE}"
+src_prepare() {
+ # upstream workaround
+ append-cxxflags -Wno-redundant-move
+ cmake-utils_src_prepare
+}
+
src_configure() {
local mycmakeargs=(
-DBUILD_SHARED_LIBS=$(usex static-libs OFF ON)