summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhololeap <hololeap@protonmail.com>2023-12-04 13:14:01 -0700
committerSam James <sam@gentoo.org>2023-12-22 05:05:41 +0000
commit24e3e1afaca561d90238c5a94d5f5af7d401e840 (patch)
treeafe5d6ceeab95cc0b73fed22b62d6ed9cec44321 /dev-haskell
parentsys-process/systemd-cron: Stabilize 2.2.0-r1 arm64, #920505 (diff)
downloadgentoo-24e3e1afaca561d90238c5a94d5f5af7d401e840.tar.gz
gentoo-24e3e1afaca561d90238c5a94d5f5af7d401e840.tar.bz2
gentoo-24e3e1afaca561d90238c5a94d5f5af7d401e840.zip
dev-haskell/vector-algorithms: Require gmp source
It appears that vector-algorithms implicitly depends on gmp either via ghc or the bitvec package. If neither source for gmp is available, packages in vector-algorithm's reverse dependency tree may run into linker errors during compile time: libHSbitvec-1.1.3.0-*.so: undefined symbol: __gmpn_popcount Closes: https://bugs.gentoo.org/917291 Closes: https://bugs.gentoo.org/917267 Closes: https://bugs.gentoo.org/916208 Closes: https://bugs.gentoo.org/916191 Closes: https://bugs.gentoo.org/916186 Closes: https://bugs.gentoo.org/916183 Closes: https://bugs.gentoo.org/920461 Signed-off-by: hololeap <hololeap@protonmail.com> Closes: https://github.com/gentoo/gentoo/pull/34391 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-haskell')
-rw-r--r--dev-haskell/vector-algorithms/vector-algorithms-0.9.0.1-r1.ebuild (renamed from dev-haskell/vector-algorithms/vector-algorithms-0.9.0.1.ebuild)9
1 files changed, 9 insertions, 0 deletions
diff --git a/dev-haskell/vector-algorithms/vector-algorithms-0.9.0.1.ebuild b/dev-haskell/vector-algorithms/vector-algorithms-0.9.0.1-r1.ebuild
index 46514559ce74..1bb09c174af8 100644
--- a/dev-haskell/vector-algorithms/vector-algorithms-0.9.0.1.ebuild
+++ b/dev-haskell/vector-algorithms/vector-algorithms-0.9.0.1-r1.ebuild
@@ -24,6 +24,15 @@ RDEPEND=">=dev-haskell/bitvec-1.0:=[profile?] <dev-haskell/bitvec-1.2:=[profile?
>=dev-haskell/vector-0.6:=[profile?] <dev-haskell/vector-0.14:=[profile?]
>=dev-lang/ghc-8.4.3:=
"
+
+# bug 916191
+RDEPEND+="
+ || (
+ dev-haskell/bitvec[gmp]
+ dev-lang/ghc[gmp]
+ )
+"
+
DEPEND="${RDEPEND}
>=dev-haskell/cabal-2.2.0.1
test? ( properties? ( >dev-haskell/quickcheck-2.9 <dev-haskell/quickcheck-2.15 ) )