summarylogtreecommitdiffstats
path: root/add-streams-dep.diff
diff options
context:
space:
mode:
authorDaniel Peukert2023-05-23 22:50:45 +0200
committerDaniel Peukert2023-05-23 22:50:45 +0200
commit06f22374f7e590f628b76ae9aa12fe75eca4dcb6 (patch)
tree2aa0f5cd6abf5c671a3a5aaa3cdd03b719dda58c /add-streams-dep.diff
parent83421e850ed43cba68691500c2874de7ae966492 (diff)
downloadaur-06f22374f7e590f628b76ae9aa12fe75eca4dcb6.tar.gz
Fix missing camlp-streams dependency for flow
Diffstat (limited to 'add-streams-dep.diff')
-rw-r--r--add-streams-dep.diff32
1 files changed, 32 insertions, 0 deletions
diff --git a/add-streams-dep.diff b/add-streams-dep.diff
new file mode 100644
index 000000000000..b452497fe957
--- /dev/null
+++ b/add-streams-dep.diff
@@ -0,0 +1,32 @@
+diff --git a/flow_parser.opam b/flow_parser.opam
+index 68e0ab4b5..73f5f8976 100644
+--- a/flow_parser.opam
++++ b/flow_parser.opam
+@@ -15,6 +15,7 @@ depends: [
+ "ppx_gen_rec" {build}
+ "sedlex" {>= "2.3"}
+ "wtf8"
++ "camlp-streams"
+ ]
+ dev-repo: "git+https://github.com/facebook/flow.git"
+ synopsis: "The Flow parser is a JavaScript parser written in OCaml"
+diff --git a/src/third-party/ocaml-sourcemaps/src/dune b/src/third-party/ocaml-sourcemaps/src/dune
+index 9b920401d..fde1d33c6 100644
+--- a/src/third-party/ocaml-sourcemaps/src/dune
++++ b/src/third-party/ocaml-sourcemaps/src/dune
+@@ -1,4 +1,4 @@
+ (library
+ (name flow_third_party_sourcemaps)
+ (wrapped false)
+- (libraries flow_third_party_vlq))
++ (libraries flow_third_party_vlq camlp-streams))
+diff --git a/src/third-party/ocaml-vlq/src/dune b/src/third-party/ocaml-vlq/src/dune
+index ba49dfba4..70f766b39 100644
+--- a/src/third-party/ocaml-vlq/src/dune
++++ b/src/third-party/ocaml-vlq/src/dune
+@@ -1,3 +1,4 @@
+ (library
+ (name flow_third_party_vlq)
+- (wrapped false))
++ (wrapped false)
++ (libraries camlp-streams))