Can you provide a patch?
I would like to provide it, of course! Just need some time to learn haskell build system. I like to help and will try to do it.
See https://docs.freebsd.org/en/books/porters-handbook/uses/index.html#uses-cabal and https://docs.freebsd.org/en/books/porters-handbook/special/#using-cabal
Created attachment 249206 [details] [PATCH] devel/hs-darcs: update to 2.18.1
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=c479de160bc472e22ce96eead6b3a8538ba33570 commit c479de160bc472e22ce96eead6b3a8538ba33570 Author: Andrey Korobkov <alster@vinterdalen.se> AuthorDate: 2024-03-16 02:21:01 +0000 Commit: Gleb Popov <arrowd@FreeBSD.org> CommitDate: 2024-03-16 02:21:34 +0000 devel/hs-darcs: Update to 2.18.1 PR: 277684 devel/hs-darcs/Makefile | 164 ++++++----- devel/hs-darcs/distinfo | 402 ++++++++++++++------------ devel/hs-darcs/files/patch-darcs.cabal (gone) | 54 ---- devel/hs-darcs/pkg-descr | 31 +- 4 files changed, 321 insertions(+), 330 deletions(-)
Pushed, thank you!