summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2020-10-22 13:02:03 +0000
committerSam James <sam@gentoo.org>2020-10-22 13:02:17 +0000
commit99da767e0c59cfdf42320c92fbf41a680dbb75cc (patch)
treecb504a5a1c1b2e53cc26e77f5a207b860be815ff /dev-ml/cryptokit
parentnet-misc/dropbox: bump to 108.4.453 (diff)
downloadgentoo-99da767e0c59cfdf42320c92fbf41a680dbb75cc.tar.gz
gentoo-99da767e0c59cfdf42320c92fbf41a680dbb75cc.tar.bz2
gentoo-99da767e0c59cfdf42320c92fbf41a680dbb75cc.zip
dev-ml/cryptokit: require dev-ml/zarith[-mpir]
mpir doesn't provide mpz_powm_sec for constant-time modular exponentation which rightly results in a test failure. Let's require -mpir in the latest version of cryptokit, as earlier versions don't work with earlier OCaml anyway. Closes: https://bugs.gentoo.org/750740 Package-Manager: Portage-3.0.8, Repoman-3.0.2 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-ml/cryptokit')
-rw-r--r--dev-ml/cryptokit/cryptokit-1.16.1-r1.ebuild (renamed from dev-ml/cryptokit/cryptokit-1.16.1.ebuild)5
1 files changed, 4 insertions, 1 deletions
diff --git a/dev-ml/cryptokit/cryptokit-1.16.1.ebuild b/dev-ml/cryptokit/cryptokit-1.16.1-r1.ebuild
index d135e28601c9..acac20768e55 100644
--- a/dev-ml/cryptokit/cryptokit-1.16.1.ebuild
+++ b/dev-ml/cryptokit/cryptokit-1.16.1-r1.ebuild
@@ -18,9 +18,12 @@ IUSE="cpu_flags_x86_aes +ocamlopt test zlib"
REQUIRED_USE="test? ( ocamlopt )"
RESTRICT="!test? ( test )"
+# We can't use mpir on zarith
+# (until it gains mpz_powm_sec?)
+# bug #750740
DEPEND="
dev-ml/dune-configurator
- dev-ml/zarith:=
+ dev-ml/zarith:=[-mpir]
zlib? ( >=sys-libs/zlib-1.1 )
"
RDEPEND="${DEPEND}"