diff --git a/Stackage/Config.hs b/Stackage/Config.hs index 24bf63d3..0a4e60d8 100644 --- a/Stackage/Config.hs +++ b/Stackage/Config.hs @@ -358,9 +358,6 @@ defaultStablePackages ghcVer = unPackageMap $ execWriter $ do addRange "Michael Snoyman" "hashable" "< 1.2" - -- Requires binary 0.7 - addRange "FP Complete " "bson" "< 0.2.3" - -- Version 0.15.3 requires a newer template-haskell addRange "FP Complete " "language-ecmascript" "< 0.15.3" diff --git a/patching/patches/bson-0.2.3.patch b/patching/patches/bson-0.2.3.patch new file mode 100644 index 00000000..6e8222ad --- /dev/null +++ b/patching/patches/bson-0.2.3.patch @@ -0,0 +1,21 @@ +diff -ru orig/bson.cabal new/bson.cabal +--- orig/bson.cabal 2014-02-19 18:55:36.860771700 +0200 ++++ new/bson.cabal 2014-02-19 18:55:36.000000000 +0200 +@@ -26,7 +26,7 @@ + Build-depends: base < 5 + , time + , bytestring +- , binary == 0.7.* ++ , binary >= 0.5.1.0 && < 0.8 + , cryptohash + , data-binary-ieee754 + , mtl >= 2 +@@ -51,7 +51,7 @@ + , base < 5 + , time + , bytestring +- , binary == 0.7.* ++ , binary >= 0.5.1.0 && < 0.8 + , cryptohash + , data-binary-ieee754 + , mtl >= 2