zlib 0.6.1.0 → 0.6.1.1
raw patch · 3 files changed
+17/−5 lines, 3 filesdep ~HUnitdep ~basedep ~tasty
Dependency ranges changed: HUnit, base, tasty
Files
- Codec/Compression/Zlib/Stream.hsc +8/−4
- changelog +8/−0
- zlib.cabal +1/−1
Codec/Compression/Zlib/Stream.hsc view
@@ -94,11 +94,15 @@ ) where +-- Note we don't use the MIN_VERSION_* macros here for compatability with+-- old Cabal versions that come with old GHC, that didn't provide these+-- macros for .hsc files. So we use __GLASGOW_HASKELL__ as a proxy.+ import Foreign ( Word8, Ptr, nullPtr, plusPtr, peekByteOff, pokeByteOff , ForeignPtr, FinalizerPtr, mallocForeignPtrBytes, addForeignPtrFinalizer , withForeignPtr, touchForeignPtr, minusPtr )-#if MIN_VERSION_base(4,4,0)+#if __GLASGOW_HASKELL__ >= 702 import Foreign.ForeignPtr.Unsafe ( unsafeForeignPtrToPtr ) import System.IO.Unsafe ( unsafePerformIO ) #else@@ -112,12 +116,12 @@ import Data.ByteString.Internal (nullForeignPtr) import qualified Data.ByteString.Unsafe as B import Data.ByteString (ByteString)-#if !(MIN_VERSION_base(4,8,0))+#if !(__GLASGOW_HASKELL__ >= 710) import Control.Applicative (Applicative(..)) #endif import Control.Monad (ap,liftM)-#if MIN_VERSION_base(4,4,0)-#if MIN_VERSION_base(4,7,0)+#if __GLASGOW_HASKELL__ >= 702+#if __GLASGOW_HASKELL__ >= 708 import Control.Monad.ST.Strict #else import Control.Monad.ST.Strict hiding (unsafeIOToST)
changelog view
@@ -1,3 +1,11 @@+0.6.1.1 Duncan Coutts <duncan@community.haskell.org> April 2015++ * Fixed building with GHC 7.0 and 7.2++0.6.0.2 Duncan Coutts <duncan@community.haskell.org> April 2015++ * Fixed building with GHC 7.0 and 7.2+ 0.6.1.0 Duncan Coutts <duncan@community.haskell.org> April 2015 * Support for concatenated gzip files (multiple back-to-back streams)
zlib.cabal view
@@ -1,5 +1,5 @@ name: zlib-version: 0.6.1.0+version: 0.6.1.1 copyright: (c) 2006-2015 Duncan Coutts license: BSD3 license-file: LICENSE