diff -Nru laby-0.6.4/debian/changelog laby-0.6.4/debian/changelog --- laby-0.6.4/debian/changelog 2017-07-20 11:45:13.000000000 +0000 +++ laby-0.6.4/debian/changelog 2019-09-03 13:23:14.000000000 +0000 @@ -1,3 +1,11 @@ +laby (0.6.4-3) unstable; urgency=medium + + * Team upload + * Update Vcs-* + * Fix compilation with OCaml 4.08.0 + + -- Stéphane Glondu Tue, 03 Sep 2019 15:23:14 +0200 + laby (0.6.4-2) unstable; urgency=medium * Team upload diff -Nru laby-0.6.4/debian/control laby-0.6.4/debian/control --- laby-0.6.4/debian/control 2017-07-20 11:44:20.000000000 +0000 +++ laby-0.6.4/debian/control 2019-09-03 13:23:14.000000000 +0000 @@ -13,8 +13,8 @@ liblablgtksourceview2-ocaml-dev (>= 2.14) Standards-Version: 3.9.2 Homepage: https://sgimenez.github.io/laby/ -Vcs-Browser: https://anonscm.debian.org/git/pkg-ocaml-maint/packages/laby.git -Vcs-Git: https://anonscm.debian.org/git/pkg-ocaml-maint/packages/laby.git +Vcs-Browser: https://salsa.debian.org/ocaml-team/laby +Vcs-Git: https://salsa.debian.org/ocaml-team/laby.git Package: laby Architecture: any diff -Nru laby-0.6.4/debian/patches/0001-Fix-compilation-with-OCaml-4.08.0.patch laby-0.6.4/debian/patches/0001-Fix-compilation-with-OCaml-4.08.0.patch --- laby-0.6.4/debian/patches/0001-Fix-compilation-with-OCaml-4.08.0.patch 1970-01-01 00:00:00.000000000 +0000 +++ laby-0.6.4/debian/patches/0001-Fix-compilation-with-OCaml-4.08.0.patch 2019-09-03 13:23:14.000000000 +0000 @@ -0,0 +1,28 @@ +From: Stephane Glondu +Date: Tue, 3 Sep 2019 15:13:22 +0200 +Subject: Fix compilation with OCaml 4.08.0 + +--- + src/mod.ml | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/src/mod.ml b/src/mod.ml +index 47ca540..e86f3f1 100644 +--- a/src/mod.ml ++++ b/src/mod.ml +@@ -98,13 +98,13 @@ let buffer = String.create bufsize + let buf_read fd f = + begin match Unix.read fd buffer 0 bufsize with + | 0 -> false +- | i -> f (String.sub buffer 0 i); true ++ | i -> f (Bytes.sub_string buffer 0 i); true + end + + let output fd s = + let str = s ^ "\n" in + let len = String.length str in +- ignore (Unix.write fd str 0 len) ++ ignore (Unix.write fd (Bytes.of_string str) 0 len) + + let input ?(timeout=0.5) err h = + let collect s = diff -Nru laby-0.6.4/debian/patches/series laby-0.6.4/debian/patches/series --- laby-0.6.4/debian/patches/series 1970-01-01 00:00:00.000000000 +0000 +++ laby-0.6.4/debian/patches/series 2019-09-03 13:23:14.000000000 +0000 @@ -0,0 +1 @@ +0001-Fix-compilation-with-OCaml-4.08.0.patch