bson works with older binary

This commit is contained in:
Michael Snoyman 2014-02-19 18:58:08 +02:00
parent a9a59da45f
commit ca0044136f
2 changed files with 21 additions and 3 deletions

View File

@ -358,9 +358,6 @@ defaultStablePackages ghcVer = unPackageMap $ execWriter $ do
addRange "Michael Snoyman" "hashable" "< 1.2"
-- Requires binary 0.7
addRange "FP Complete <michael@fpcomplete.com>" "bson" "< 0.2.3"
-- Version 0.15.3 requires a newer template-haskell
addRange "FP Complete <michael@fpcomplete.com>" "language-ecmascript" "< 0.15.3"

View File

@ -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