From b880a7316ff316ddd8e45c35a836b1ee0a5f1774 Mon Sep 17 00:00:00 2001 From: Romain Beauxis Date: Fri, 1 Nov 2024 09:01:48 -0500 Subject: [PATCH] Add lowerbound for versions. --- dune-project | 5 +++-- srt.opam | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/dune-project b/dune-project index dfb01fc..4bd900d 100644 --- a/dune-project +++ b/dune-project @@ -20,11 +20,12 @@ (depends (conf-srt :build) (conf-pkg-config :build) + (ocaml (>= 4.12)) dune (dune-configurator :build) ocamlfind - ctypes - ctypes-foreign + (ctypes (>= 0.21.1)) + (ctypes-foreign (>= 0.21.1)) integers posix-socket) ) diff --git a/srt.opam b/srt.opam index 23fa5d2..e907747 100644 --- a/srt.opam +++ b/srt.opam @@ -16,11 +16,12 @@ bug-reports: "https://github.com/savonet/ocaml-srt/issues" depends: [ "conf-srt" {build} "conf-pkg-config" {build} + "ocaml" {>= "4.12"} "dune" {>= "3.6"} "dune-configurator" {build} "ocamlfind" - "ctypes" - "ctypes-foreign" + "ctypes" {>= "0.21.1"} + "ctypes-foreign" {>= "0.21.1"} "integers" "posix-socket" "odoc" {with-doc}