commit:     0ba3e306a8c728ad5eaf3e2577859e57820bd28e
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 21 14:41:53 2021 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Mon Jun 21 14:54:16 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ba3e306

net-analyzer/suricata-6.0.2: restrict Rust version

The bundled lexical-core-0.6.7 is not compatible with rust-1.53 due to
stabilisation of <integer>::BITS, see
https://github.com/rust-lang/rust/issues/81654 . Already fixed by
lexical-core upstream (in version 0.7.5) but I haven't had much luck
backporting this to 0.6.7.

Suricata-5 is not affected because it doesn't use this Rust module.

Closes: https://bugs.gentoo.org/797370
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 net-analyzer/suricata/suricata-6.0.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/suricata/suricata-6.0.2.ebuild 
b/net-analyzer/suricata/suricata-6.0.2.ebuild
index ac72587b971..0ffe354ceb0 100644
--- a/net-analyzer/suricata/suricata-6.0.2.ebuild
+++ b/net-analyzer/suricata/suricata-6.0.2.ebuild
@@ -51,7 +51,7 @@ RDEPEND="${PYTHON_DEPS}
        redis?      ( dev-libs/hiredis )"
 DEPEND="${RDEPEND}
        >=sys-devel/autoconf-2.69-r5
-       virtual/rust"
+       <virtual/rust-1.53.0"  # Bug #797370. Hopefully to be fixed come next 
release.
 
 PATCHES=(
        "${FILESDIR}/${PN}-5.0.1_configure-no-lz4-automagic.patch"

Reply via email to