SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
14
lang/haxe/patches/patch-ocamldeps_ocaml-sha_sha256_ml
Normal file
14
lang/haxe/patches/patch-ocamldeps_ocaml-sha_sha256_ml
Normal file
|
@ -0,0 +1,14 @@
|
|||
replace deprecated lib Pervasives
|
||||
|
||||
Index: ocamldeps/ocaml-sha/sha256.ml
|
||||
--- ocamldeps/ocaml-sha/sha256.ml.orig
|
||||
+++ ocamldeps/ocaml-sha/sha256.ml
|
||||
@@ -66,7 +66,7 @@ let channel chan len =
|
||||
while (!left == -1 || !left > 0) && not !eof
|
||||
do
|
||||
let len = if !left < 0 then blksize else (min !left blksize) in
|
||||
- let readed = Pervasives.input chan buf 0 len in
|
||||
+ let readed = Stdlib.input chan buf 0 len in
|
||||
if readed = 0 then
|
||||
eof := true
|
||||
else (
|
Loading…
Add table
Add a link
Reference in a new issue