diff options
Diffstat (limited to 'ocaml-vorbis.patch')
-rw-r--r-- | ocaml-vorbis.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/ocaml-vorbis.patch b/ocaml-vorbis.patch new file mode 100644 index 000000000000..3d2dff71a027 --- /dev/null +++ b/ocaml-vorbis.patch @@ -0,0 +1,11 @@ +--- a/ocaml-vorbis-0.7.0/src/vorbis.ml 2017-05-28 11:43:38.000000000 +0200 ++++ b/ocaml-vorbis-0.7.0/src/vorbis.ml 2018-04-21 23:09:44.404442683 +0200 +@@ -219,7 +219,7 @@ + (fun n -> + let buf = Bytes.create n in + let r = Unix.read fd buf 0 n in +- buf, r) ++ Bytes.to_string buf, r) + (fun n cmd -> Unix.lseek fd n cmd) + (fun () -> Unix.lseek fd 0 Unix.SEEK_CUR) + with |