commit:     3a8bfd8768607691f52c17153d9585d0e4ceaac0
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 17 11:30:54 2020 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Oct 17 11:31:20 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a8bfd87

dev-ml/ocaml-gettext: depend on earlier OCaml for old rev

The older version uses -unsafe-string which is forbidden
in 4.10.0.

Closes: https://bugs.gentoo.org/749690
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Sam James <sam <AT> gentoo.org>

 ...{ocaml-gettext-0.3.7-r1.ebuild => ocaml-gettext-0.3.7-r2.ebuild} | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/dev-ml/ocaml-gettext/ocaml-gettext-0.3.7-r1.ebuild 
b/dev-ml/ocaml-gettext/ocaml-gettext-0.3.7-r2.ebuild
similarity index 90%
rename from dev-ml/ocaml-gettext/ocaml-gettext-0.3.7-r1.ebuild
rename to dev-ml/ocaml-gettext/ocaml-gettext-0.3.7-r2.ebuild
index c4643c7c33a..a71acc3dd62 100644
--- a/dev-ml/ocaml-gettext/ocaml-gettext-0.3.7-r1.ebuild
+++ b/dev-ml/ocaml-gettext/ocaml-gettext-0.3.7-r2.ebuild
@@ -17,7 +17,11 @@ RESTRICT="!test? ( test )"
 
 PATCHES=( "${FILESDIR}"/ocaml-unsafe-string.patch )
 
-RDEPEND=">=dev-lang/ocaml-3.12.1:=
+# OCaml 4.10 does not support -unsafe-string by default
+# bug #666149
+RDEPEND="
+       >=dev-lang/ocaml-3.12.1:=
+       <dev-lang/ocaml-4.10.0:=
        >=dev-ml/ocaml-fileutils-0.4.0:=
        >=dev-ml/camomile-0.8.3:=
        sys-devel/gettext

Reply via email to