From 18dfb6fc1eb1624dd22386402af0951992900f0c Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Mon, 26 Jun 2023 14:00:56 +0200 Subject: [PATCH 1/3] Allow building with text-2.0.x. --- libmpd.cabal | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libmpd.cabal b/libmpd.cabal index 37a61f1..800b68e 100644 --- a/libmpd.cabal +++ b/libmpd.cabal @@ -45,7 +45,7 @@ Library , containers >= 0.3 && < 1 , filepath >= 1 && < 2 , mtl >= 2.2.2 && < 3 - , text >= 0.11 && < 2 + , text >= 0.11 && < 2.1 , time >= 1.5 && < 2 -- Additional dependencies From 5737096a339edc265a663f51ad9d29baee262694 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Mon, 26 Jun 2023 14:01:09 +0200 Subject: [PATCH 2/3] Import Control.Monad for missing foldM. --- src/Network/MPD/Commands/Parse.hs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Network/MPD/Commands/Parse.hs b/src/Network/MPD/Commands/Parse.hs index 49f23cb..f53283c 100644 --- a/src/Network/MPD/Commands/Parse.hs +++ b/src/Network/MPD/Commands/Parse.hs @@ -12,6 +12,7 @@ module Network.MPD.Commands.Parse where import Network.MPD.Commands.Types +import Control.Monad import Control.Monad.Except import Data.Maybe (fromMaybe) From f1cbf247261641565a3937b90721f7955d254c5e Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Mon, 26 Feb 2024 08:12:58 +0100 Subject: [PATCH 3/3] Allow building with text-2.1.x to support ghc-9.8.x. --- libmpd.cabal | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libmpd.cabal b/libmpd.cabal index 800b68e..c667a3b 100644 --- a/libmpd.cabal +++ b/libmpd.cabal @@ -45,7 +45,7 @@ Library , containers >= 0.3 && < 1 , filepath >= 1 && < 2 , mtl >= 2.2.2 && < 3 - , text >= 0.11 && < 2.1 + , text >= 0.11 && < 2.2 , time >= 1.5 && < 2 -- Additional dependencies