zlib 0.6.0.1 → 0.6.0.2
raw patch · 3 files changed
+21/−5 lines, 3 filesdep ~base
Dependency ranges changed: base
Files
- Codec/Compression/Zlib/Stream.hsc +8/−4
- changelog +12/−0
- zlib.cabal +1/−1
Codec/Compression/Zlib/Stream.hsc view
@@ -92,11 +92,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@@ -110,12 +114,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,15 @@+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)+ 0.6.0.1 Duncan Coutts <duncan@community.haskell.org> April 2015 * Fixed building with older GHC
zlib.cabal view
@@ -1,5 +1,5 @@ name: zlib-version: 0.6.0.1+version: 0.6.0.2 copyright: (c) 2006-2015 Duncan Coutts license: BSD3 license-file: LICENSE