commit: 61ba3da7497e1a9159151e63e439c36f427f4364 Author: Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at> AuthorDate: Sun Mar 14 16:47:45 2021 +0000 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> CommitDate: Sun Mar 14 18:57:30 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61ba3da7
dev-ml/dose3: remove unused patch(es) Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at> Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org> dev-ml/dose3/files/ocaml406.patch | 39 --------------------------------------- dev-ml/dose3/files/unix.patch | 13 ------------- 2 files changed, 52 deletions(-) diff --git a/dev-ml/dose3/files/ocaml406.patch b/dev-ml/dose3/files/ocaml406.patch deleted file mode 100644 index 867c2ca4848..00000000000 --- a/dev-ml/dose3/files/ocaml406.patch +++ /dev/null @@ -1,39 +0,0 @@ -Index: dose3-5.0.1/common/criteria_lexer.mll -=================================================================== ---- dose3-5.0.1.orig/common/criteria_lexer.mll -+++ dose3-5.0.1/common/criteria_lexer.mll -@@ -18,7 +18,7 @@ - let c = Lexing.lexeme_char lexbuf 2 in (* the delimiter can be any character *) - (* find the terminating delimiter *) - let endpos = -- try String.index_from lexbuf.lex_buffer (lexbuf.lex_start_pos + 3) c with -+ try Bytes.index_from lexbuf.lex_buffer (lexbuf.lex_start_pos + 3) c with - |Invalid_argument _ -> - raise (Format822.Syntax_error ( - Format822.error lexbuf "String too short")) -@@ -27,9 +27,9 @@ - Format822.error lexbuf (Printf.sprintf "cannot find: %c" c))) - in - let len = endpos - (lexbuf.lex_start_pos + 3) in -- let s = String.sub lexbuf.lex_buffer (lexbuf.lex_start_pos + 3) len in -- lexbuf.Lexing.lex_curr_pos <- lexbuf.Lexing.lex_start_pos + ((String.length s)+4); -- s -+ let s = Bytes.sub lexbuf.lex_buffer (lexbuf.lex_start_pos + 3) len in -+ lexbuf.Lexing.lex_curr_pos <- lexbuf.Lexing.lex_start_pos + ((Bytes.length s)+4); -+ Bytes.to_string s - - } - -Index: dose3-5.0.1/common/input.ml -=================================================================== ---- dose3-5.0.1.orig/common/input.ml -+++ dose3-5.0.1/common/input.ml -@@ -47,7 +47,7 @@ let bzip_open_file file = - in - IO.create_in - ~read:(fun () -> input_char ch) -- ~input:(read ch) -+ ~input:(fun x -> read ch (Bytes.to_string x)) - ~close:(fun () -> Bz2.close_in ch) - #else - fatal "bzip not supported. re-configure with --with-bz2" diff --git a/dev-ml/dose3/files/unix.patch b/dev-ml/dose3/files/unix.patch deleted file mode 100644 index c3dbfabcfbc..00000000000 --- a/dev-ml/dose3/files/unix.patch +++ /dev/null @@ -1,13 +0,0 @@ -Index: dose3-5.0.1/META.in -=================================================================== ---- dose3-5.0.1.orig/META.in -+++ dose3-5.0.1/META.in -@@ -8,7 +8,7 @@ package "common" ( - version = "@PACKAGE_VERSION@" - archive(byte) = "common.cma" - archive(native) = "common.cmxa" --requires = "extlib, re.pcre, cudf, @ZIP@, @BZ2@" -+requires = "extlib, re.pcre, cudf, unix, @ZIP@, @BZ2@" - ) - - package "algo" (
