From e5930c62be62f1b74fcc8ba9309145154830865e Mon Sep 17 00:00:00 2001 From: Bodigrim Date: Sun, 6 Jul 2025 13:21:37 +0100 Subject: [PATCH 1/2] Fix OpenBSD CI job --- .cirrus.yml | 2 +- unix.cabal | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.cirrus.yml b/.cirrus.yml index 123d7b8..1d977ce 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -15,7 +15,7 @@ task: # See https://github.com/anarazel/pg-vm-images/blob/main/packer/openbsd.pkrvars.hcl image: family/pg-ci-openbsd-vanilla platform: openbsd - install_script: pkg_add ghc cabal-install git autoconf-2.71 + install_script: pkg_add ghc cabal-install git autoconf-2.71p0 script: - export AUTOCONF_VERSION=2.71 - export CABAL_DIR=/tmp/.cabal diff --git a/unix.cabal b/unix.cabal index 7df7270..a4920d0 100644 --- a/unix.cabal +++ b/unix.cabal @@ -187,6 +187,11 @@ test-suite unix-tests build-depends: filepath >= 1.5.0.0, os-string >= 2.0.0 else build-depends: filepath >= 1.4.100.0 && < 1.5.0.0 + + -- https://github.com/haskellari/splitmix/issues/101 + if os(openbsd) + build-depends: splitmix < 0.1.3 || > 0.1.3.1 + ghc-options: -Wall -with-rtsopts=-V0 test-suite FdReadBuf001 From 2b7f297e77182382c9e11e391ac80d632bcba0bb Mon Sep 17 00:00:00 2001 From: Bodigrim Date: Mon, 4 Aug 2025 20:59:04 +0100 Subject: [PATCH 2/2] Allow time-1.15 --- unix.cabal | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unix.cabal b/unix.cabal index a4920d0..941a702 100644 --- a/unix.cabal +++ b/unix.cabal @@ -79,7 +79,7 @@ library build-depends: base >= 4.12.0.0 && < 4.23, bytestring >= 0.9.2 && < 0.13, - time >= 1.9.1 && < 1.15 + time >= 1.9.1 && < 1.16 if flag(os-string) build-depends: filepath >= 1.5.0.0, os-string >= 2.0.0