summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2022-11-19 22:25:25 +0100
committerMaciej Barć <xgqt@gentoo.org>2022-11-19 22:26:53 +0100
commit6e7a51ba017eb61743f30c801d61a4971f2289e4 (patch)
tree7e35ff8751d5eaa7ff7fa32a1698d430e428631d /sci-mathematics
parentdev-ml/ptmap: remove seq reference from dune build file (diff)
downloadgentoo-6e7a51ba017eb61743f30c801d61a4971f2289e4.tar.gz
gentoo-6e7a51ba017eb61743f30c801d61a4971f2289e4.tar.bz2
gentoo-6e7a51ba017eb61743f30c801d61a4971f2289e4.zip
sci-mathematics/alt-ergo: remove seq reference from dune build file
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'sci-mathematics')
-rw-r--r--sci-mathematics/alt-ergo/alt-ergo-2.4.2-r1.ebuild2
-rw-r--r--sci-mathematics/alt-ergo/files/alt-ergo-2.4.2-dune.patch11
2 files changed, 13 insertions, 0 deletions
diff --git a/sci-mathematics/alt-ergo/alt-ergo-2.4.2-r1.ebuild b/sci-mathematics/alt-ergo/alt-ergo-2.4.2-r1.ebuild
index 496625cddfef..581b8c28a604 100644
--- a/sci-mathematics/alt-ergo/alt-ergo-2.4.2-r1.ebuild
+++ b/sci-mathematics/alt-ergo/alt-ergo-2.4.2-r1.ebuild
@@ -34,6 +34,8 @@ RDEPEND="
DEPEND="${RDEPEND}"
BDEPEND="dev-ml/dune-configurator"
+PATCHES=( "${FILESDIR}"/${P}-dune.patch )
+
src_prepare() {
default
diff --git a/sci-mathematics/alt-ergo/files/alt-ergo-2.4.2-dune.patch b/sci-mathematics/alt-ergo/files/alt-ergo-2.4.2-dune.patch
new file mode 100644
index 000000000000..58bcbaa70257
--- /dev/null
+++ b/sci-mathematics/alt-ergo/files/alt-ergo-2.4.2-dune.patch
@@ -0,0 +1,11 @@
+--- a/src/lib/dune
++++ b/src/lib/dune
+@@ -21,7 +21,7 @@
+
+ ; external dependencies
+ (libraries
+- seq unix num str zarith dynlink ocplib-simplex stdlib-shims)
++ unix num str zarith dynlink ocplib-simplex stdlib-shims)
+
+ ; .mli only modules *also* need to be in this field
+ (modules_without_implementation matching_types numbersInterface sig sig_rel)