summaryrefslogtreecommitdiff
path: root/devel/ocaml-ipaddr/files/patch-lib_ipaddr.ml
diff options
context:
space:
mode:
Diffstat (limited to 'devel/ocaml-ipaddr/files/patch-lib_ipaddr.ml')
-rw-r--r--devel/ocaml-ipaddr/files/patch-lib_ipaddr.ml33
1 files changed, 0 insertions, 33 deletions
diff --git a/devel/ocaml-ipaddr/files/patch-lib_ipaddr.ml b/devel/ocaml-ipaddr/files/patch-lib_ipaddr.ml
deleted file mode 100644
index bfd7d0f2b3a4..000000000000
--- a/devel/ocaml-ipaddr/files/patch-lib_ipaddr.ml
+++ /dev/null
@@ -1,33 +0,0 @@
---- lib/ipaddr.ml.orig 2019-03-03 17:12:39 UTC
-+++ lib/ipaddr.ml
-@@ -69,9 +69,9 @@ let int_of_char c = match c with
- let char_A = int_of_char 'A'
-
- let int_of_char c = match c with
-- | '0'..'9' -> Pervasives.int_of_char c - char_0
-- | 'a'..'f' -> 10 + Pervasives.int_of_char c - char_a
-- | 'A'..'F' -> 10 + Pervasives.int_of_char c - char_A
-+ | '0'..'9' -> Stdlib.int_of_char c - char_0
-+ | 'a'..'f' -> 10 + Stdlib.int_of_char c - char_a
-+ | 'A'..'F' -> 10 + Stdlib.int_of_char c - char_A
- | _ -> -1
-
- let bad_char i s =
-@@ -258,7 +258,7 @@ module V4 = struct
-
- let compare (pre,sz) (pre',sz') =
- let c = compare pre pre' in
-- if c = 0 then Pervasives.compare sz sz' else c
-+ if c = 0 then Stdlib.compare sz sz' else c
-
- let ip = make
-
-@@ -706,7 +706,7 @@ module V6 = struct
-
- let compare (pre,sz) (pre',sz') =
- let c = compare pre pre' in
-- if c = 0 then Pervasives.compare sz sz' else c
-+ if c = 0 then Stdlib.compare sz sz' else c
-
- let ip = make
-