diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2022-03-22 12:45:49 +0100 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2022-03-22 12:45:49 +0100 |
commit | 4875f227f3e4a733d1290d85d275e3225ae05e27 (patch) | |
tree | 247b41d9a2495863c5c08ec5adc3b83577adbeda /sci-misc/flashdot/files | |
parent | kde-apps/kwave: Add missing KCoreAddons link (diff) | |
download | gentoo-4875f227f3e4a733d1290d85d275e3225ae05e27.tar.gz gentoo-4875f227f3e4a733d1290d85d275e3225ae05e27.tar.bz2 gentoo-4875f227f3e4a733d1290d85d275e3225ae05e27.zip |
sci-misc/flashdot: make it build again
Closes: https://bugs.gentoo.org/641894
Closes: https://bugs.gentoo.org/770799
Closes: https://bugs.gentoo.org/804663
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'sci-misc/flashdot/files')
-rw-r--r-- | sci-misc/flashdot/files/flashdot-1.1.4-Makefile.patch | 10 | ||||
-rw-r--r-- | sci-misc/flashdot/files/flashdot-1.1.4-ocaml-4.09.patch | 11 |
2 files changed, 21 insertions, 0 deletions
diff --git a/sci-misc/flashdot/files/flashdot-1.1.4-Makefile.patch b/sci-misc/flashdot/files/flashdot-1.1.4-Makefile.patch new file mode 100644 index 000000000000..077367bd2ab0 --- /dev/null +++ b/sci-misc/flashdot/files/flashdot-1.1.4-Makefile.patch @@ -0,0 +1,10 @@ +--- a/mathexpr/Makefile 2022-03-22 10:51:43.081062080 +0100 ++++ b/mathexpr/Makefile 2022-03-22 10:53:37.226190652 +0100 +@@ -72,6 +72,6 @@ + # Dependencies + depend: +- $(OCAMLDEP) $(OCAMLINCS) *.mli *.ml > depend ++ $(OCAMLDEP) -I $(XMLLIGHTDIR) $(OCAMLINCSLOCAL) *.mli *.ml > depend + + include depend + 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 index 8b00b86d52b7..285a2c746e20 100644 --- 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 @@ -9,3 +9,14 @@ fill_buff () in let s = fill_buff () in +--- a/mathexpr/mathexpr.ml 2022-03-22 12:36:30.252580025 +0100 ++++ b/mathexpr/mathexpr.ml 2022-03-22 12:32:10.594137416 +0100 +@@ -2859,7 +2859,7 @@ + while true do + let n = input f strbuf 0 1024 in + if n = 0 then raise Exit else +- Buffer.add_substring resbuf strbuf 0 n ++ Buffer.add_subbytes resbuf strbuf 0 n + done; + Buffer.contents resbuf + with Exit -> Buffer.contents resbuf |