pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/mldonkey Partial build fixes for ocaml 4.06.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6f6edc0b6b32
branches:  trunk
changeset: 377238:6f6edc0b6b32
user:      dholland <dholland%pkgsrc.org@localhost>
date:      Wed Mar 14 14:05:37 2018 +0000

description:
Partial build fixes for ocaml 4.06.

not at all clear this thing is worth the trouble...

diffstat:

 net/mldonkey/distinfo                                           |   50 +-
 net/mldonkey/patches/patch-config_Makefile.in                   |    3 +-
 net/mldonkey/patches/patch-config_configure.in                  |    3 +-
 net/mldonkey/patches/patch-src_config_unix_os_stubs.c.c         |    3 +-
 net/mldonkey/patches/patch-src_networks_donkey_donkeyGlobals.ml |    3 +-
 net/mldonkey/patches/patch-src_utils_cdk_bzip2.ml               |  126 +++
 net/mldonkey/patches/patch-src_utils_cdk_bzip2.mli              |   24 +
 net/mldonkey/patches/patch-src_utils_cdk_bzlib.ml               |   24 +
 net/mldonkey/patches/patch-src_utils_cdk_bzlib.mli              |   24 +
 net/mldonkey/patches/patch-src_utils_cdk_filename2.ml           |   39 +
 net/mldonkey/patches/patch-src_utils_cdk_gdstubs.c              |    3 +-
 net/mldonkey/patches/patch-src_utils_cdk_genlex2.ml             |   39 +
 net/mldonkey/patches/patch-src_utils_cdk_gzip.ml                |  180 ++++
 net/mldonkey/patches/patch-src_utils_cdk_gzip.mli               |   33 +
 net/mldonkey/patches/patch-src_utils_cdk_string2.ml             |  102 ++
 net/mldonkey/patches/patch-src_utils_cdk_string2.mli            |   28 +
 net/mldonkey/patches/patch-src_utils_cdk_tar.mlcpp              |  112 ++
 net/mldonkey/patches/patch-src_utils_cdk_unix2.ml               |   38 +
 net/mldonkey/patches/patch-src_utils_cdk_zip.ml                 |  183 ++++-
 net/mldonkey/patches/patch-src_utils_cdk_zlib.ml                |   47 +
 net/mldonkey/patches/patch-src_utils_cdk_zlib.mli               |  153 +++
 net/mldonkey/patches/patch-src_utils_cdk_zlibstubs.c            |    3 +-
 net/mldonkey/patches/patch-src_utils_extlib_IO.ml               |  117 ++
 net/mldonkey/patches/patch-src_utils_extlib_IO.mli              |   41 +
 net/mldonkey/patches/patch-src_utils_lib_fst_hash.c             |   23 +-
 net/mldonkey/patches/patch-src_utils_lib_md4.ml                 |  410 ++++++++++
 net/mldonkey/patches/patch-src_utils_lib_md4.mli                |   24 +
 net/mldonkey/patches/patch-src_utils_lib_misc.ml                |   22 +
 net/mldonkey/patches/patch-src_utils_lib_misc2.mlcpp            |   23 +
 net/mldonkey/patches/patch-src_utils_lib_options.ml4            |   36 +-
 net/mldonkey/patches/patch-src_utils_lib_os_stubs.h             |    3 +-
 net/mldonkey/patches/patch-src_utils_lib_syslog.ml              |   47 +
 net/mldonkey/patches/patch-src_utils_lib_tiger.c                |   24 +
 net/mldonkey/patches/patch-src_utils_lib_unix32.ml              |   80 +
 net/mldonkey/patches/patch-src_utils_lib_unix32.mli             |   20 +
 net/mldonkey/patches/patch-src_utils_lib_url.ml                 |   34 +
 net/mldonkey/patches/patch-src_utils_lib_verificationBitmap.ml  |   72 +
 net/mldonkey/patches/patch-src_utils_net_terminal.ml            |    3 +-
 38 files changed, 2168 insertions(+), 31 deletions(-)

diffs (truncated from 2436 to 300 lines):

diff -r 488d3cf6f739 -r 6f6edc0b6b32 net/mldonkey/distinfo
--- a/net/mldonkey/distinfo     Wed Mar 14 13:59:52 2018 +0000
+++ b/net/mldonkey/distinfo     Wed Mar 14 14:05:37 2018 +0000
@@ -1,17 +1,43 @@
-$NetBSD: distinfo,v 1.64 2016/08/15 15:48:19 jaapb Exp $
+$NetBSD: distinfo,v 1.65 2018/03/14 14:05:37 dholland Exp $
 
 SHA1 (mldonkey-3.1.5.tar.bz2) = 7bc4f9272ecfe6403eef7062766b26bf321e3015
 RMD160 (mldonkey-3.1.5.tar.bz2) = 63a21aef47a7510b7f9867544345c8f03edc89c3
 SHA512 (mldonkey-3.1.5.tar.bz2) = 96e75acf91d7ecc41490f898e06d284da27404c7e567f173936d8113885a3b4b6bc93341358f92a30d3f699eef681d97ce56414a37bb02a535ad2da4d4ad13a3
 Size (mldonkey-3.1.5.tar.bz2) = 2847382 bytes
-SHA1 (patch-config_Makefile.in) = a575c505c1f736bc3940790b43a6cf2083f29112
-SHA1 (patch-config_configure.in) = f9c3887e04a9727e13fecd47d763462a413913f3
-SHA1 (patch-src_config_unix_os_stubs.c.c) = 4cc60c1019a93212157d526e15269079c1e84e20
-SHA1 (patch-src_networks_donkey_donkeyGlobals.ml) = a9734496b883e4ced2a6a744d0b2fcf331b56ba1
-SHA1 (patch-src_utils_cdk_gdstubs.c) = 52717da3310492d3d737b5332e295573e5142f8a
-SHA1 (patch-src_utils_cdk_zip.ml) = 3a511187821445040a7d53b80fb3f9682f905463
-SHA1 (patch-src_utils_cdk_zlibstubs.c) = 14d61998e620b27afbecbe5e058c8ef466a68ecb
-SHA1 (patch-src_utils_lib_fst_hash.c) = f5b69a13d8ab7f3149e82b6f0f37425fdd62a945
-SHA1 (patch-src_utils_lib_options.ml4) = 9e47644d41606a2fb29f5e3c2609d2d36d97b745
-SHA1 (patch-src_utils_lib_os_stubs.h) = 4128c7507cff2f70708ab38684f7fd60af6f6bca
-SHA1 (patch-src_utils_net_terminal.ml) = 8745d3d6f605c9609febfea4e84c5c6619be0d14
+SHA1 (patch-config_Makefile.in) = 84f235f7ad4e6a9cdec807a24d3f11f769a01399
+SHA1 (patch-config_configure.in) = 0f187754d590a565b22ef402351dbe18c456a8c5
+SHA1 (patch-src_config_unix_os_stubs.c.c) = 6abe8ef9a040be0716e3d6c88b48764b6dd7ed55
+SHA1 (patch-src_networks_donkey_donkeyGlobals.ml) = 5f0b36213b6e6185077cd5c8d82b314b1c50c8c2
+SHA1 (patch-src_utils_cdk_bzip2.ml) = 77f7b96a12930df3843c38baa69a90ad73a26f8d
+SHA1 (patch-src_utils_cdk_bzip2.mli) = c54fcf33541ada525d33d6485a9362bb1cb5c8cf
+SHA1 (patch-src_utils_cdk_bzlib.ml) = fd13e153d484ed6d07dfeaaf5e19560cac92e0a2
+SHA1 (patch-src_utils_cdk_bzlib.mli) = 2057ae8479851ad49b5fd5630e51c63f5c3d08f3
+SHA1 (patch-src_utils_cdk_filename2.ml) = 08c1da16ee18c32b2efe4342030054a8e396960b
+SHA1 (patch-src_utils_cdk_gdstubs.c) = 9d8ef81fcf3515ab5337769aef12c6aacbb4eb81
+SHA1 (patch-src_utils_cdk_genlex2.ml) = 679554178ef641ae573523599ecb0587c4cefb78
+SHA1 (patch-src_utils_cdk_gzip.ml) = c044e15df645f3262664ca136fddabf7e5e2a0d1
+SHA1 (patch-src_utils_cdk_gzip.mli) = 9eaef0cfae3844742ca14a1aca3c900ae22e813c
+SHA1 (patch-src_utils_cdk_string2.ml) = 8f73f9be699dfa92e2360c1ce94b26d4d5e1e62c
+SHA1 (patch-src_utils_cdk_string2.mli) = 5ed5cdc6fb12b964bb65d861a33901e9ec68d504
+SHA1 (patch-src_utils_cdk_tar.mlcpp) = 75e2cab5d1e3d1e880a13bd0f7b2e29f7c0ca2be
+SHA1 (patch-src_utils_cdk_unix2.ml) = 3893de3d70704fc625b6cb2e2e405911b92a32ab
+SHA1 (patch-src_utils_cdk_zip.ml) = a875053a90c911e2f07fcfc75aa307e6ba7cd5b4
+SHA1 (patch-src_utils_cdk_zlib.ml) = a2ad3cdde37fe9ee329c1e9193e7744bda167a4a
+SHA1 (patch-src_utils_cdk_zlib.mli) = bf6125e1812ece75d48ee3a7fda88ef9f172bd26
+SHA1 (patch-src_utils_cdk_zlibstubs.c) = cd005903f050e2c9fee1f745ada40f5dad2e3985
+SHA1 (patch-src_utils_extlib_IO.ml) = 8d889c88345ba5e622200558760b221abde4ab7a
+SHA1 (patch-src_utils_extlib_IO.mli) = 8f41b20aa762f7ba22fec958862015f81adc2952
+SHA1 (patch-src_utils_lib_fst_hash.c) = c96999a09d392293fc6dc997f3a2d5465bd2e8d8
+SHA1 (patch-src_utils_lib_md4.ml) = 3d283d01ff1a95cb2893b52bccefd63d1c28f6c6
+SHA1 (patch-src_utils_lib_md4.mli) = ad6c4085f6ef803e0e97be15ad7380bc6f24555e
+SHA1 (patch-src_utils_lib_misc.ml) = 947a8f24d1ea2a05b8a83d2d7da84c7f9d991602
+SHA1 (patch-src_utils_lib_misc2.mlcpp) = 077de6829a0d7367352c5b6ea5562c42e441a396
+SHA1 (patch-src_utils_lib_options.ml4) = aa7a752f894a09d2a1fe3f69e1796d560f241e24
+SHA1 (patch-src_utils_lib_os_stubs.h) = a6707829311c46dd598d269c465a02f0fa8fc701
+SHA1 (patch-src_utils_lib_syslog.ml) = e3993e6a3a008bc7e52eb414e980afb41658dafb
+SHA1 (patch-src_utils_lib_tiger.c) = d4b3b9a3de0a64dee442911a4d9b30d075091a7e
+SHA1 (patch-src_utils_lib_unix32.ml) = 81f4b15ece553bb7a46a046026bb3d2f74d5d2b2
+SHA1 (patch-src_utils_lib_unix32.mli) = 39ae8385f2b43bcb961476c639acfbace4774197
+SHA1 (patch-src_utils_lib_url.ml) = aa1194997f44e7437ada3012058455964c4573f2
+SHA1 (patch-src_utils_lib_verificationBitmap.ml) = f8d7af0eff1674ca83a98a800e53e2a41da9922a
+SHA1 (patch-src_utils_net_terminal.ml) = f601ea7facc3f31f9f288567a094fbd3e1bda70c
diff -r 488d3cf6f739 -r 6f6edc0b6b32 net/mldonkey/patches/patch-config_Makefile.in
--- a/net/mldonkey/patches/patch-config_Makefile.in     Wed Mar 14 13:59:52 2018 +0000
+++ b/net/mldonkey/patches/patch-config_Makefile.in     Wed Mar 14 14:05:37 2018 +0000
@@ -1,6 +1,7 @@
-$NetBSD: patch-config_Makefile.in,v 1.1 2012/09/14 19:23:31 jaapb Exp $
+$NetBSD: patch-config_Makefile.in,v 1.2 2018/03/14 14:05:37 dholland Exp $
 
 Correct include paths for lablgtk 2.16
+
 --- config/Makefile.in.orig    2012-07-01 17:47:41.000000000 +0000
 +++ config/Makefile.in
 @@ -655,15 +655,18 @@ install:: opt 
diff -r 488d3cf6f739 -r 6f6edc0b6b32 net/mldonkey/patches/patch-config_configure.in
--- a/net/mldonkey/patches/patch-config_configure.in    Wed Mar 14 13:59:52 2018 +0000
+++ b/net/mldonkey/patches/patch-config_configure.in    Wed Mar 14 14:05:37 2018 +0000
@@ -1,6 +1,7 @@
-$NetBSD: patch-config_configure.in,v 1.6 2016/08/15 15:48:19 jaapb Exp $
+$NetBSD: patch-config_configure.in,v 1.7 2018/03/14 14:05:37 dholland Exp $
 
 Correct include paths for lablgtk 2.16
+
 --- config/configure.in.orig   2012-08-05 15:49:02.000000000 +0000
 +++ config/configure.in
 @@ -1347,15 +1364,15 @@ if test "$GTK_CONFIG" = "no"; then
diff -r 488d3cf6f739 -r 6f6edc0b6b32 net/mldonkey/patches/patch-src_config_unix_os_stubs.c.c
--- a/net/mldonkey/patches/patch-src_config_unix_os_stubs.c.c   Wed Mar 14 13:59:52 2018 +0000
+++ b/net/mldonkey/patches/patch-src_config_unix_os_stubs.c.c   Wed Mar 14 14:05:37 2018 +0000
@@ -1,6 +1,7 @@
-$NetBSD: patch-src_config_unix_os_stubs.c.c,v 1.1 2016/08/15 15:48:19 jaapb Exp $
+$NetBSD: patch-src_config_unix_os_stubs.c.c,v 1.2 2018/03/14 14:05:37 dholland Exp $
 
 Compile with OCaml 4.03
+
 --- src/config/unix/os_stubs_c.c.orig  2010-07-16 13:56:35.000000000 +0000
 +++ src/config/unix/os_stubs_c.c
 @@ -66,7 +66,7 @@ ssize_t os_read(OS_FD fd, char *buf, siz
diff -r 488d3cf6f739 -r 6f6edc0b6b32 net/mldonkey/patches/patch-src_networks_donkey_donkeyGlobals.ml
--- a/net/mldonkey/patches/patch-src_networks_donkey_donkeyGlobals.ml   Wed Mar 14 13:59:52 2018 +0000
+++ b/net/mldonkey/patches/patch-src_networks_donkey_donkeyGlobals.ml   Wed Mar 14 14:05:37 2018 +0000
@@ -1,6 +1,7 @@
-$NetBSD: patch-src_networks_donkey_donkeyGlobals.ml,v 1.1 2016/08/15 15:48:19 jaapb Exp $
+$NetBSD: patch-src_networks_donkey_donkeyGlobals.ml,v 1.2 2018/03/14 14:05:37 dholland Exp $
 
 Compile with OCaml 4.03
+
 --- src/networks/donkey/donkeyGlobals.ml.orig  2011-10-25 17:33:21.000000000 +0000
 +++ src/networks/donkey/donkeyGlobals.ml
 @@ -781,7 +781,6 @@ let set_client_name c name md4 =
diff -r 488d3cf6f739 -r 6f6edc0b6b32 net/mldonkey/patches/patch-src_utils_cdk_bzip2.ml
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/mldonkey/patches/patch-src_utils_cdk_bzip2.ml Wed Mar 14 14:05:37 2018 +0000
@@ -0,0 +1,126 @@
+$NetBSD: patch-src_utils_cdk_bzip2.ml,v 1.1 2018/03/14 14:05:37 dholland Exp $
+
+Fix build with ocaml 4.06
+
+--- src/utils/cdk/bzip2.ml~    2006-03-05 10:41:06.000000000 +0000
++++ src/utils/cdk/bzip2.ml
+@@ -7,7 +7,7 @@ let buffer_size = 1024
+ 
+ type in_channel =
+   { in_chan: Pervasives.in_channel;
+-    in_buffer: string;
++    in_buffer: bytes;
+     mutable in_pos: int;
+     mutable in_avail: int;
+     mutable in_eof: bool;
+@@ -16,7 +16,7 @@ type in_channel =
+ 
+ let open_in_chan ic =
+   { in_chan = ic;
+-    in_buffer = String.create buffer_size;
++    in_buffer = Bytes.create buffer_size;
+     in_pos = 0;
+     in_avail = 0;
+     in_eof = false;
+@@ -32,12 +32,12 @@ let open_in filename =
+ let read_byte iz =
+   if iz.in_avail = 0 then begin
+     let n = Pervasives.input iz.in_chan iz.in_buffer 0
+-                             (String.length iz.in_buffer) in
++                             (Bytes.length iz.in_buffer) in
+     if n = 0 then raise End_of_file;
+     iz.in_pos <- 0;
+     iz.in_avail <- n
+   end;
+-  let c = iz.in_buffer.[iz.in_pos] in
++  let c = Bytes.get iz.in_buffer iz.in_pos in
+   iz.in_pos <- iz.in_pos + 1;
+   iz.in_avail <- iz.in_avail - 1;
+   Char.code c
+@@ -53,19 +53,19 @@ let read_int32 iz =
+                    (Int32.shift_left (Int32.of_int b4) 24)))
+ 
+ let rec input iz buf pos len =
+-  if pos < 0 || len < 0 || pos + len > String.length buf then
++  if pos < 0 || len < 0 || pos + len > Bytes.length buf then
+     invalid_arg "Bzip2.input";
+   if iz.in_eof then 0 else begin
+     if iz.in_avail = 0 then begin
+       let n = Pervasives.input iz.in_chan iz.in_buffer 0
+-                               (String.length iz.in_buffer) in
++                               (Bytes.length iz.in_buffer) in
+       if n = 0 then raise(Error("truncated file"));
+       iz.in_pos <- 0;
+       iz.in_avail <- n
+     end;
+     let (finished, used_in, used_out) =
+       try
+-        Bzlib.decompress iz.in_stream iz.in_buffer iz.in_pos iz.in_avail
++        Bzlib.decompress iz.in_stream (Bytes.to_string iz.in_buffer) iz.in_pos iz.in_avail
+                                    buf pos len
+       with Bzlib.Error(_, e) ->
+         raise(Error(Bzlib.string_of_error e)) in
+@@ -88,10 +88,10 @@ let rec really_input iz buf pos len =
+     really_input iz buf (pos + n) (len - n)
+   end
+ 
+-let char_buffer = String.create 1
++let char_buffer = Bytes.create 1
+ 
+ let input_char iz =
+-  if input iz char_buffer 0 1 = 0 then raise End_of_file else char_buffer.[0]
++  if input iz char_buffer 0 1 = 0 then raise End_of_file else Bytes.get char_buffer 0
+ 
+ let input_byte iz =
+   Char.code (input_char iz)
+@@ -106,7 +106,7 @@ let close_in iz =
+ 
+ type out_channel =
+   { out_chan: Pervasives.out_channel;
+-    out_buffer: string;
++    out_buffer: bytes;
+     mutable out_pos: int;
+     mutable out_avail: int;
+     out_stream: Bzlib.stream;
+@@ -115,7 +115,7 @@ type out_channel =
+ let open_out_chan ?(level = 6) oc =
+   if level < 1 || level > 9 then invalid_arg "Bzip2.open_out: bad level";
+   { out_chan = oc;
+-    out_buffer = String.create buffer_size;
++    out_buffer = Bytes.create buffer_size;
+     out_pos = 0;
+     out_avail = buffer_size;
+     out_stream = Bzlib.compress_init level 0 0;
+@@ -132,7 +132,7 @@ let rec output oz buf pos len =
+   (* Printf.printf "Flushing out_avail\n"; *)
+     Pervasives.output oz.out_chan oz.out_buffer 0 oz.out_pos;
+     oz.out_pos <- 0;
+-    oz.out_avail <- String.length oz.out_buffer
++    oz.out_avail <- Bytes.length oz.out_buffer
+   end;
+   let (_, used_in, used_out) =
+     try
+@@ -147,8 +147,8 @@ let rec output oz buf pos len =
+   if used_in < len then output oz buf (pos + used_in) (len - used_in)
+ 
+ let output_char oz c =
+-  char_buffer.[0] <- c;
+-  output oz char_buffer 0 1
++  let s = String.make 1 c in
++  output oz s 0 1
+ 
+ let output_byte oz b =
+   output_char oz (Char.unsafe_chr b)
+@@ -159,10 +159,10 @@ let flush oz =
+     if oz.out_avail = 0 then begin
+       Pervasives.output oz.out_chan oz.out_buffer 0 oz.out_pos;
+       oz.out_pos <- 0;
+-      oz.out_avail <- String.length oz.out_buffer
++      oz.out_avail <- Bytes.length oz.out_buffer
+     end;
+     let (finished, _, used_out) =
+-      Bzlib.compress oz.out_stream oz.out_buffer 0 0
++      Bzlib.compress oz.out_stream (Bytes.to_string oz.out_buffer) 0 0
+                                  oz.out_buffer oz.out_pos oz.out_avail
+                                  Bzlib.BZ_FINISH in
+     oz.out_pos <- oz.out_pos + used_out;
diff -r 488d3cf6f739 -r 6f6edc0b6b32 net/mldonkey/patches/patch-src_utils_cdk_bzip2.mli
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/mldonkey/patches/patch-src_utils_cdk_bzip2.mli        Wed Mar 14 14:05:37 2018 +0000
@@ -0,0 +1,24 @@
+$NetBSD: patch-src_utils_cdk_bzip2.mli,v 1.1 2018/03/14 14:05:37 dholland Exp $
+
+Fix build with ocaml 4.06
+
+--- src/utils/cdk/bzip2.mli~   2005-09-13 09:49:40.000000000 +0000
++++ src/utils/cdk/bzip2.mli
+@@ -22,7 +22,7 @@ val input_byte: in_channel -> int
+         (* Same as [Bzip2.input_char], but return the 8-bit integer representing
+            the character.
+            Raise [End_of_file] if no more compressed data is available. *)
+-val input: in_channel -> string -> int -> int -> int
++val input: in_channel -> bytes -> int -> int -> int
+         (* [input ic buf pos len] uncompresses up to [len] characters
+            from the given channel [ic],
+            storing them in string [buf], starting at character number [pos].
+@@ -38,7 +38,7 @@ val input: in_channel -> string -> int -
+            exactly [len] characters.)
+            Exception [Invalid_argument "Bzip2.input"] is raised if
+            [pos] and [len] do not designate a valid substring of [buf]. *)
+-val really_input: in_channel -> string -> int -> int -> unit
++val really_input: in_channel -> bytes -> int -> int -> unit
+         (* [really_input ic buf pos len] uncompresses [len] characters
+            from the given channel, storing them in
+            string [buf], starting at character number [pos].
diff -r 488d3cf6f739 -r 6f6edc0b6b32 net/mldonkey/patches/patch-src_utils_cdk_bzlib.ml
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/mldonkey/patches/patch-src_utils_cdk_bzlib.ml Wed Mar 14 14:05:37 2018 +0000
@@ -0,0 +1,24 @@
+$NetBSD: patch-src_utils_cdk_bzlib.ml,v 1.1 2018/03/14 14:05:37 dholland Exp $
+
+Fix build with ocaml 4.06
+
+--- src/utils/cdk/bzlib.ml~    2005-08-01 20:09:13.000000000 +0000
++++ src/utils/cdk/bzlib.ml
+@@ -23,7 +23,7 @@ type action = BZ_RUN | BZ_FLUSH | BZ_FIN
+ 
+ external compress_init: int -> int -> int -> stream = "camlzip_bzCompressInit"
+ external compress:
+-  stream -> string -> int -> int -> string -> int -> int -> action
++  stream -> string -> int -> int -> bytes -> int -> int -> action
+          -> bool * int * int
+   = "camlzip_bzCompress_bytecode" "camlzip_bzCompress"
+ external compress_end: stream -> unit = "camlzip_bzCompressEnd"
+@@ -31,7 +31,7 @@ external compress_end: stream -> unit = 
+ 
+ external decompress_init: int -> bool -> stream = "camlzip_bzDecompressInit"
+ external decompress:
+-  stream -> string -> int -> int -> string -> int -> int -> bool * int * int
++  stream -> string -> int -> int -> bytes -> int -> int -> bool * int * int
+   = "camlzip_bzDecompress_bytecode" "camlzip_bzDecompress"
+ external decompress_end: stream -> unit = "camlzip_bzDecompressEnd"
+ 
diff -r 488d3cf6f739 -r 6f6edc0b6b32 net/mldonkey/patches/patch-src_utils_cdk_bzlib.mli
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/mldonkey/patches/patch-src_utils_cdk_bzlib.mli        Wed Mar 14 14:05:37 2018 +0000
@@ -0,0 +1,24 @@
+$NetBSD: patch-src_utils_cdk_bzlib.mli,v 1.1 2018/03/14 14:05:37 dholland Exp $
+
+Fix build with ocaml 4.06



Home | Main Index | Thread Index | Old Index