summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephane Glondu <steph@glondu.net>2020-08-26 11:46:05 +0200
committerStephane Glondu <steph@glondu.net>2020-08-26 11:46:05 +0200
commitcdcff5127b42284fe73f234f99642597cb865d97 (patch)
tree913d887bc92c059d0c25d256330d485998fca19b
parent89f88e447adf4a6d4ec1defebcfe9e6748128438 (diff)
Refresh patches
-rw-r--r--debian/patches/0002-Port-to-Ocaml_410-based-ppxlib.patch51
-rw-r--r--debian/patches/series1
2 files changed, 0 insertions, 52 deletions
diff --git a/debian/patches/0002-Port-to-Ocaml_410-based-ppxlib.patch b/debian/patches/0002-Port-to-Ocaml_410-based-ppxlib.patch
deleted file mode 100644
index 447eea1..0000000
--- a/debian/patches/0002-Port-to-Ocaml_410-based-ppxlib.patch
+++ /dev/null
@@ -1,51 +0,0 @@
-From: Stephane Glondu <steph@glondu.net>
-Date: Wed, 29 Jul 2020 13:28:46 +0200
-Subject: Port to Ocaml_410-based ppxlib
-
----
- src/ppx/ppx_obus.ml | 12 ++++++------
- 1 file changed, 6 insertions(+), 6 deletions(-)
-
-diff --git a/src/ppx/ppx_obus.ml b/src/ppx/ppx_obus.ml
-index 998e227..a462d94 100644
---- a/src/ppx/ppx_obus.ml
-+++ b/src/ppx/ppx_obus.ml
-@@ -1,5 +1,5 @@
- open Migrate_parsetree
--open Ast_408.Parsetree
-+open Ast_410.Parsetree
-
- let rewriter_name = "ppx_obus"
-
-@@ -16,9 +16,9 @@ let find_attr_expr s attrs =
- | _ -> None in
- try expr_of_payload (
- let payload =
-- List.find (fun attr -> attr.Ast_408.Parsetree.attr_name.txt = s) attrs
-+ List.find (fun attr -> attr.Ast_410.Parsetree.attr_name.txt = s) attrs
- in
-- payload.Ast_408.Parsetree.attr_payload)
-+ payload.Ast_410.Parsetree.attr_payload)
- with Not_found -> None
-
-
-@@ -61,10 +61,10 @@ let register_obus_exception = function
-
-
- let obus_mapper =
-- { Ast_408.Ast_mapper.default_mapper with
-+ { Ast_410.Ast_mapper.default_mapper with
- structure = fun mapper items ->
- List.fold_right (fun item acc ->
-- let item' = Ast_408.Ast_mapper.default_mapper.structure_item mapper item in
-+ let item' = Ast_410.Ast_mapper.default_mapper.structure_item mapper item in
- match register_obus_exception item with
- | Some reg ->
- item' :: reg :: acc
-@@ -75,5 +75,5 @@ let obus_mapper =
-
-
- let () =
-- Driver.register ~name:rewriter_name Versions.ocaml_408
-+ Driver.register ~name:rewriter_name Versions.ocaml_410
- (fun _ _ -> obus_mapper)
diff --git a/debian/patches/series b/debian/patches/series
index 9f4e37f..0b1b594 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1 @@
0001-Disable-the-tests-that-need-a-working-dbus-daemon.patch
-0002-Port-to-Ocaml_410-based-ppxlib.patch