diff --git a/dev-ml/ocaml-cstruct/files/sexpl.patch b/dev-ml/ocaml-cstruct/files/sexpl.patch new file mode 100644 index 0000000000000..d87ca109d5f2a --- /dev/null +++ b/dev-ml/ocaml-cstruct/files/sexpl.patch @@ -0,0 +1,85 @@ +Index: ocaml-cstruct-1.7.1/_tags +=================================================================== +--- ocaml-cstruct-1.7.1.orig/_tags ++++ ocaml-cstruct-1.7.1/_tags +@@ -23,12 +23,12 @@ true: annot, bin_annot + : pkg_ocplib-endian + : pkg_ocplib-endian.bigstring + : pkg_sexplib +-: pkg_sexplib.syntax ++: pkg_pa_sexp_conv.syntax + "lib/cstruct_stubs.c": pkg_bigarray + "lib/cstruct_stubs.c": pkg_ocplib-endian + "lib/cstruct_stubs.c": pkg_ocplib-endian.bigstring + "lib/cstruct_stubs.c": pkg_sexplib +-"lib/cstruct_stubs.c": pkg_sexplib.syntax ++"lib/cstruct_stubs.c": pkg_pa_sexp_conv.syntax + # Library async_cstruct + "async/async_cstruct.cmxs": use_async_cstruct + : pkg_async +@@ -36,7 +36,7 @@ true: annot, bin_annot + : pkg_ocplib-endian + : pkg_ocplib-endian.bigstring + : pkg_sexplib +-: pkg_sexplib.syntax ++: pkg_pa_sexp_conv.syntax + : pkg_threads + : use_cstruct + # Library lwt_cstruct +@@ -46,7 +46,7 @@ true: annot, bin_annot + : pkg_ocplib-endian + : pkg_ocplib-endian.bigstring + : pkg_sexplib +-: pkg_sexplib.syntax ++: pkg_pa_sexp_conv.syntax + : use_cstruct + # Library unix_cstruct + "unix/unix_cstruct.cmxs": use_unix_cstruct +@@ -54,7 +54,7 @@ true: annot, bin_annot + : pkg_ocplib-endian + : pkg_ocplib-endian.bigstring + : pkg_sexplib +-: pkg_sexplib.syntax ++: pkg_pa_sexp_conv.syntax + : pkg_unix + : use_cstruct + # Library cstruct-syntax +@@ -69,7 +69,7 @@ true: annot, bin_annot + : pkg_ocplib-endian + : pkg_ocplib-endian.bigstring + : pkg_sexplib +-: pkg_sexplib.syntax ++: pkg_pa_sexp_conv + : pkg_unix + : use_cstruct + : use_unix_cstruct +@@ -82,14 +82,14 @@ true: annot, bin_annot + : pkg_ocplib-endian + : pkg_ocplib-endian.bigstring + : pkg_sexplib +-: pkg_sexplib.syntax ++: pkg_pa_sexp_conv + : use_cstruct + : pkg_bigarray + : pkg_oUnit + : pkg_ocplib-endian + : pkg_ocplib-endian.bigstring + : pkg_sexplib +-: pkg_sexplib.syntax ++: pkg_pa_sexp_conv + : use_cstruct + : custom + # OASIS_STOP +Index: ocaml-cstruct-1.7.1/setup.ml +=================================================================== +--- ocaml-cstruct-1.7.1.orig/setup.ml ++++ ocaml-cstruct-1.7.1/setup.ml +@@ -7003,7 +7003,7 @@ let setup_t = + FindlibPackage ("ocplib-endian", None); + FindlibPackage ("ocplib-endian.bigstring", None); + FindlibPackage ("sexplib", None); +- FindlibPackage ("sexplib.syntax", None) ++ FindlibPackage ("pa_sexp_conv.syntax", None) + ]; + bs_build_tools = [ExternalTool "ocamlbuild"]; + bs_c_sources = ["cstruct_stubs.c"]; diff --git a/dev-ml/ocaml-cstruct/ocaml-cstruct-1.7.1.ebuild b/dev-ml/ocaml-cstruct/ocaml-cstruct-1.7.1.ebuild index 118537cbf90ae..6591edee032da 100644 --- a/dev-ml/ocaml-cstruct/ocaml-cstruct-1.7.1.ebuild +++ b/dev-ml/ocaml-cstruct/ocaml-cstruct-1.7.1.ebuild @@ -24,13 +24,14 @@ RDEPEND=" >=dev-lang/ocaml-4.01:= dev-ml/ocplib-endian:= dev-ml/sexplib:= -