Skip to content

Commit d001431

Browse files
committed
Use patch instead
1 parent 10eec5e commit d001431

File tree

1 file changed

+9
-6
lines changed
  • packages/bin_prot/bin_prot.v0.17.0

1 file changed

+9
-6
lines changed

packages/bin_prot/bin_prot.v0.17.0/opam

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ bug-reports: "https://github.com/janestreet/bin_prot/issues"
66
dev-repo: "git+https://github.com/janestreet/bin_prot.git"
77
doc: "https://ocaml.janestreet.com/ocaml-core/latest/doc/bin_prot/index.html"
88
license: "MIT"
9+
patches: [ "remove-outdated-mirage-xen-cross-compilation-rules.patch" ]
910
build: [
1011
["dune" "build" "-p" name "-j" jobs]
1112
]
@@ -21,12 +22,6 @@ depends: [
2122
"ppx_variants_conv" {>= "v0.17" & < "v0.18"}
2223
"dune" {>= "3.11.0"}
2324
]
24-
depopts: [
25-
"mirage-xen-ocaml"
26-
]
27-
conflicts: [
28-
"mirage-xen-ocaml" { os-family = "opensuse" }
29-
]
3025
available: arch != "x86_32" & os != "freebsd"
3126
synopsis: "A binary protocol generator"
3227
description: "
@@ -39,3 +34,11 @@ url {
3934
src: "https://github.com/janestreet/bin_prot/archive/refs/tags/v0.17.0.tar.gz"
4035
checksum: "sha256=0e6c61aff150d19a0f89cb3e354ab36189e4bc23e28ab8bce03b6c6b6004f237"
4136
}
37+
extra-source "remove-outdated-mirage-xen-cross-compilation-rules.patch" {
38+
src:
39+
"https://github.com/smuenzel/opam-source-archives/raw/refs/heads/add-bin-prot-patch/patches/bin_prot/remove-outdated-mirage-xen-cross-compilation-rules.patch"
40+
checksum: [
41+
"sha256=0c6fdc1a9377ae678895f237bae191ac458e507550063de143f1ee70a39ba318"
42+
"md5=0b9ecf65c743f358ead5ad9f586cdee0"
43+
]
44+
}

0 commit comments

Comments
 (0)