Skip to content

Commit 8344d33

Browse files
committed
Backport ocaml/ocaml#13100 to 5.1.x ocaml-variants
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.
1 parent 83687c4 commit 8344d33

File tree

5 files changed

+35
-0
lines changed
  • packages/ocaml-variants
    • ocaml-variants.5.1.0+options
    • ocaml-variants.5.1.0+tsan
    • ocaml-variants.5.1.1+effect-syntax
    • ocaml-variants.5.1.1+options
    • ocaml-variants.5.1.1+tsan

5 files changed

+35
-0
lines changed

packages/ocaml-variants/ocaml-variants.5.1.0+options/opam

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,3 +130,10 @@ extra-source "ocaml-variants.install" {
130130
"md5=3e969b841df1f51ca448e6e6295cb451"
131131
]
132132
}
133+
# Back-ported ocaml/ocaml#13100 (5.2.0) - fixes the misdetection of zstd with
134+
# ocaml-option-musl
135+
patches: ["zstd-detection.patch"]
136+
extra-source "zstd-detection.patch" {
137+
src: "https://github.com/ocaml/ocaml/commit/baf65b91c51bb04b09ecc98b94ddd4ba3b446912.patch?full_index=1"
138+
checksum: "sha256=958e061bc3b967e32a5606d5109ed7faacb9b793fe2de0e8f8697c23a178c5cf"
139+
}

packages/ocaml-variants/ocaml-variants.5.1.0+tsan/opam

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,3 +85,10 @@ extra-source "ocaml-variants.install" {
8585
]
8686
}
8787
available: os != "win32"
88+
# Back-ported ocaml/ocaml#13100 (5.2.0) - fixes the misdetection of zstd with
89+
# ocaml-option-musl
90+
patches: ["zstd-detection.patch"]
91+
extra-source "zstd-detection.patch" {
92+
src: "https://github.com/ocaml/ocaml/commit/baf65b91c51bb04b09ecc98b94ddd4ba3b446912.patch?full_index=1"
93+
checksum: "sha256=958e061bc3b967e32a5606d5109ed7faacb9b793fe2de0e8f8697c23a178c5cf"
94+
}

packages/ocaml-variants/ocaml-variants.5.1.1+effect-syntax/opam

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,3 +133,10 @@ extra-source "ocaml-variants.install" {
133133
"md5=3e969b841df1f51ca448e6e6295cb451"
134134
]
135135
}
136+
# Back-ported ocaml/ocaml#13100 (5.2.0) - fixes the misdetection of zstd with
137+
# ocaml-option-musl
138+
patches: ["zstd-detection.patch"]
139+
extra-source "zstd-detection.patch" {
140+
src: "https://github.com/ocaml/ocaml/commit/baf65b91c51bb04b09ecc98b94ddd4ba3b446912.patch?full_index=1"
141+
checksum: "sha256=958e061bc3b967e32a5606d5109ed7faacb9b793fe2de0e8f8697c23a178c5cf"
142+
}

packages/ocaml-variants/ocaml-variants.5.1.1+options/opam

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,3 +130,10 @@ extra-source "ocaml-variants.install" {
130130
"md5=3e969b841df1f51ca448e6e6295cb451"
131131
]
132132
}
133+
# Back-ported ocaml/ocaml#13100 (5.2.0) - fixes the misdetection of zstd with
134+
# ocaml-option-musl
135+
patches: ["zstd-detection.patch"]
136+
extra-source "zstd-detection.patch" {
137+
src: "https://github.com/ocaml/ocaml/commit/baf65b91c51bb04b09ecc98b94ddd4ba3b446912.patch?full_index=1"
138+
checksum: "sha256=958e061bc3b967e32a5606d5109ed7faacb9b793fe2de0e8f8697c23a178c5cf"
139+
}

packages/ocaml-variants/ocaml-variants.5.1.1+tsan/opam

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,3 +85,10 @@ extra-source "ocaml-variants.install" {
8585
]
8686
}
8787
available: os != "win32"
88+
# Back-ported ocaml/ocaml#13100 (5.2.0) - fixes the misdetection of zstd with
89+
# ocaml-option-musl
90+
patches: ["zstd-detection.patch"]
91+
extra-source "zstd-detection.patch" {
92+
src: "https://github.com/ocaml/ocaml/commit/baf65b91c51bb04b09ecc98b94ddd4ba3b446912.patch?full_index=1"
93+
checksum: "sha256=958e061bc3b967e32a5606d5109ed7faacb9b793fe2de0e8f8697c23a178c5cf"
94+
}

0 commit comments

Comments
 (0)