Skip to content

Commit

Permalink
Backport ocaml/ocaml#13100 to 5.1.x ocaml-variants
Browse files Browse the repository at this point in the history
When building with ocaml-option-musl, zstd detection in OCaml fails if
pkg-config and libzstd are installed for the host. This is fixed in
5.2.0. ocaml-base-compiler is unaffected.
  • Loading branch information
dra27 committed May 20, 2024
1 parent 97de337 commit 3a3372b
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packages/ocaml-variants/ocaml-variants.5.1.0+options/opam
Original file line number Diff line number Diff line change
Expand Up @@ -80,3 +80,10 @@ depopts: [
"ocaml-option-address-sanitizer"
"ocaml-option-static"
]
# Back-ported ocaml/ocaml#13100 (5.2.0) - fixes the misdetection of zstd with
# ocaml-option-musl
patches: ["zstd-detection.patch"]
extra-source "zstd-detection.patch" {
src: "https://github.com/ocaml/ocaml/commit/baf65b91c51bb04b09ecc98b94ddd4ba3b446912.patch?full_index=1"
checksum: "sha256=958e061bc3b967e32a5606d5109ed7faacb9b793fe2de0e8f8697c23a178c5cf"
}
7 changes: 7 additions & 0 deletions packages/ocaml-variants/ocaml-variants.5.1.0+tsan/opam
Original file line number Diff line number Diff line change
Expand Up @@ -77,3 +77,10 @@ depopts: [
"ocaml-option-address-sanitizer"
"ocaml-option-static"
]
# Back-ported ocaml/ocaml#13100 (5.2.0) - fixes the misdetection of zstd with
# ocaml-option-musl
patches: ["zstd-detection.patch"]
extra-source "zstd-detection.patch" {
src: "https://github.com/ocaml/ocaml/commit/baf65b91c51bb04b09ecc98b94ddd4ba3b446912.patch?full_index=1"
checksum: "sha256=958e061bc3b967e32a5606d5109ed7faacb9b793fe2de0e8f8697c23a178c5cf"
}
Original file line number Diff line number Diff line change
Expand Up @@ -82,3 +82,10 @@ depopts: [
"ocaml-option-address-sanitizer"
"ocaml-option-static"
]
# Back-ported ocaml/ocaml#13100 (5.2.0) - fixes the misdetection of zstd with
# ocaml-option-musl
patches: ["zstd-detection.patch"]
extra-source "zstd-detection.patch" {
src: "https://github.com/ocaml/ocaml/commit/baf65b91c51bb04b09ecc98b94ddd4ba3b446912.patch?full_index=1"
checksum: "sha256=958e061bc3b967e32a5606d5109ed7faacb9b793fe2de0e8f8697c23a178c5cf"
}
7 changes: 7 additions & 0 deletions packages/ocaml-variants/ocaml-variants.5.1.1+options/opam
Original file line number Diff line number Diff line change
Expand Up @@ -80,3 +80,10 @@ depopts: [
"ocaml-option-address-sanitizer"
"ocaml-option-static"
]
# Back-ported ocaml/ocaml#13100 (5.2.0) - fixes the misdetection of zstd with
# ocaml-option-musl
patches: ["zstd-detection.patch"]
extra-source "zstd-detection.patch" {
src: "https://github.com/ocaml/ocaml/commit/baf65b91c51bb04b09ecc98b94ddd4ba3b446912.patch?full_index=1"
checksum: "sha256=958e061bc3b967e32a5606d5109ed7faacb9b793fe2de0e8f8697c23a178c5cf"
}
7 changes: 7 additions & 0 deletions packages/ocaml-variants/ocaml-variants.5.1.1+tsan/opam
Original file line number Diff line number Diff line change
Expand Up @@ -77,3 +77,10 @@ depopts: [
"ocaml-option-address-sanitizer"
"ocaml-option-static"
]
# Back-ported ocaml/ocaml#13100 (5.2.0) - fixes the misdetection of zstd with
# ocaml-option-musl
patches: ["zstd-detection.patch"]
extra-source "zstd-detection.patch" {
src: "https://github.com/ocaml/ocaml/commit/baf65b91c51bb04b09ecc98b94ddd4ba3b446912.patch?full_index=1"
checksum: "sha256=958e061bc3b967e32a5606d5109ed7faacb9b793fe2de0e8f8697c23a178c5cf"
}

0 comments on commit 3a3372b

Please sign in to comment.