commit: 7430920ad46eca2df4b62431b3309540ac349168 Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org> AuthorDate: Wed Apr 28 18:51:52 2021 +0000 Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org> CommitDate: Wed Apr 28 18:51:52 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7430920a
sci-misc/flashdot: fix new ocaml - but still does not build Closes: https://bugs.gentoo.org/770799 Package-Manager: Portage-3.0.18, Repoman-3.0.2 Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org> sci-misc/flashdot/files/flashdot-1.1.4-ocaml-4.09.patch | 11 +++++++++++ sci-misc/flashdot/flashdot-1.1.4-r1.ebuild | 3 ++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/sci-misc/flashdot/files/flashdot-1.1.4-ocaml-4.09.patch b/sci-misc/flashdot/files/flashdot-1.1.4-ocaml-4.09.patch new file mode 100644 index 00000000000..8b00b86d52b --- /dev/null +++ b/sci-misc/flashdot/files/flashdot-1.1.4-ocaml-4.09.patch @@ -0,0 +1,11 @@ +--- a/fls/fls.ml 2021-04-26 16:24:25.363442099 +0200 ++++ b/fls/fls.ml 2021-04-26 20:10:54.965405870 +0200 +@@ -750,7 +750,7 @@ + match input inp s 0 1024 with + 0 -> Buffer.contents res + | n -> +- Buffer.add_substring res s 0 n; ++ Buffer.add_subbytes res s 0 n; + fill_buff () + in + let s = fill_buff () in diff --git a/sci-misc/flashdot/flashdot-1.1.4-r1.ebuild b/sci-misc/flashdot/flashdot-1.1.4-r1.ebuild index 97b4fd7fac5..8d31eba9024 100644 --- a/sci-misc/flashdot/flashdot-1.1.4-r1.ebuild +++ b/sci-misc/flashdot/flashdot-1.1.4-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -22,6 +22,7 @@ DEPEND=" RDEPEND="${DEPEND}" PATCHES=( "${FILESDIR}/${P}-gsl-ocaml.patch" + "${FILESDIR}"/${P}-ocaml-4.09.patch ) src_prepare() {
