summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger <mmk@levelnine.at>2021-02-12 14:57:21 +0100
committerSam James <sam@gentoo.org>2021-02-12 15:13:35 +0000
commit1b58965d7fa3d02567c5cad490a230529f00ffe2 (patch)
treec753738883f1b4663110d990712108e54d1783a9 /dev-ml/extlib
parentdev-embedded/openocd: Add version 0.11.0_rc2 (diff)
downloadgentoo-1b58965d7fa3d02567c5cad490a230529f00ffe2.tar.gz
gentoo-1b58965d7fa3d02567c5cad490a230529f00ffe2.tar.bz2
gentoo-1b58965d7fa3d02567c5cad490a230529f00ffe2.zip
dev-ml/extlib: remove unused patch
Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at> Closes: https://github.com/gentoo/gentoo/pull/19428 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-ml/extlib')
-rw-r--r--dev-ml/extlib/files/ocaml405.patch35
1 files changed, 0 insertions, 35 deletions
diff --git a/dev-ml/extlib/files/ocaml405.patch b/dev-ml/extlib/files/ocaml405.patch
deleted file mode 100644
index 4e3b04a1c8e5..000000000000
--- a/dev-ml/extlib/files/ocaml405.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-Index: ocaml-extlib-1.7.1/src/configure.ml
-===================================================================
---- ocaml-extlib-1.7.1.orig/src/configure.ml
-+++ ocaml-extlib-1.7.1/src/configure.ml
-@@ -3,5 +3,6 @@ let () =
- print_endline (if Sys.ocaml_version >= "4.02.0" then "-D OCAML4_02 " else "");
- print_endline (if Sys.ocaml_version >= "4.03.0" then "-D OCAML4_03 " else "");
- print_endline (if Sys.ocaml_version >= "4.04.0" then "-D OCAML4_04 " else "");
-+ print_endline (if Sys.ocaml_version >= "4.05.0" then "-D OCAML4_05 " else "");
- let (_:int) = Sys.command "ocamlfind query -format \"-D WITH_BYTES\" bytes" in ();
- exit 0
-Index: ocaml-extlib-1.7.1/src/extHashtbl.mli
-===================================================================
---- ocaml-extlib-1.7.1.orig/src/extHashtbl.mli
-+++ ocaml-extlib-1.7.1/src/extHashtbl.mli
-@@ -132,6 +132,9 @@ module type S =
- val add : 'a t -> key -> 'a -> unit
- val remove : 'a t -> key -> unit
- val find : 'a t -> key -> 'a
-+#ifdef OCAML4_05
-+ val find_opt: 'a t -> key -> 'a option
-+#endif
- val find_all : 'a t -> key -> 'a list
- val replace : 'a t -> key -> 'a -> unit
- val mem : 'a t -> key -> bool
-@@ -167,6 +170,9 @@ module type SeededS =
- val add : 'a t -> key -> 'a -> unit
- val remove : 'a t -> key -> unit
- val find : 'a t -> key -> 'a
-+#ifdef OCAML4_05
-+ val find_opt : 'a t -> key -> 'a option
-+#endif
- val find_all : 'a t -> key -> 'a list
- val replace : 'a t -> key -> 'a -> unit
- val mem : 'a t -> key -> bool