diff options
author | Alexey Shvetsov <alexxy@gentoo.org> | 2019-10-08 14:36:14 +0300 |
---|---|---|
committer | Alexey Shvetsov <alexxy@gentoo.org> | 2019-10-08 17:35:20 +0300 |
commit | 1193c695e7acd1c77848779e1d6c9f5dc3d8a82d (patch) | |
tree | 481de3c5b245620b366eb55145f4db6daf25c86a /dev-libs/hyperscan | |
parent | media-plugins/kodi-pvr-mythtv: 5.10.13 version bump (diff) | |
download | gentoo-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>
Diffstat (limited to 'dev-libs/hyperscan')
-rw-r--r-- | dev-libs/hyperscan/hyperscan-5.1.1.ebuild | 8 | ||||
-rw-r--r-- | dev-libs/hyperscan/hyperscan-5.2.0.ebuild | 8 |
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 100dba02f5a4..7a0a28063f9f 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 100dba02f5a4..7a0a28063f9f 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) |