Hello community,

here is the log from the commit of package ghc-zlib for openSUSE:Factory 
checked in at 2015-05-13 07:12:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-zlib (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-zlib.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-zlib"

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-zlib/ghc-zlib.changes        2014-11-26 
20:55:23.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-zlib.new/ghc-zlib.changes   2015-05-13 
07:12:45.000000000 +0200
@@ -1,0 +2,6 @@
+Sat Apr 11 09:09:18 UTC 2015 - mimi...@gmail.com
+
+- update to 0.5.4.2
+* no upstreqm changelog
+
+-------------------------------------------------------------------

Old:
----
  zlib-0.5.4.1.tar.gz

New:
----
  zlib-0.5.4.2.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ghc-zlib.spec ++++++
--- /var/tmp/diff_new_pack.OmNYN5/_old  2015-05-13 07:12:46.000000000 +0200
+++ /var/tmp/diff_new_pack.OmNYN5/_new  2015-05-13 07:12:46.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-zlib
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -23,7 +23,7 @@
 %global common_description This package provides a pure interface for 
compressing and decompressing streams of data represented as lazy ByteStrings. 
It uses the zlib C library so it has high performance. It supports the "zlib", 
"gzip" and "raw" compression formats.
 
 Name:           ghc-zlib
-Version:        0.5.4.1
+Version:        0.5.4.2
 Release:        0
 Summary:        %{common_summary}
 License:        BSD-2-Clause

++++++ zlib-0.5.4.1.tar.gz -> zlib-0.5.4.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zlib-0.5.4.1/Codec/Compression/Zlib/Stream.hsc 
new/zlib-0.5.4.2/Codec/Compression/Zlib/Stream.hsc
--- old/zlib-0.5.4.1/Codec/Compression/Zlib/Stream.hsc  2013-02-28 
21:28:29.000000000 +0100
+++ new/zlib-0.5.4.2/Codec/Compression/Zlib/Stream.hsc  2014-11-18 
12:13:10.000000000 +0100
@@ -108,7 +108,8 @@
 import qualified Data.ByteString.Unsafe as B
 import Data.ByteString (ByteString)
 import System.IO.Unsafe (unsafeInterleaveIO)
-import Control.Monad (liftM)
+import Control.Applicative (Applicative(..))
+import Control.Monad (ap,liftM)
 import Control.Exception (assert)
 #ifdef DEBUG
 import System.IO (hPutStrLn, stderr)
@@ -302,6 +303,13 @@
               ,Int, Int, a)
   }
 
+instance Functor Stream where
+  fmap   = liftM
+
+instance Applicative Stream where
+  pure   = return
+  (<*>)  = ap
+
 instance Monad Stream where
   (>>=)  = thenZ
 --  m >>= f = (m `thenZ` \a -> consistencyCheck `thenZ_` returnZ a) `thenZ` f
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zlib-0.5.4.1/zlib.cabal new/zlib-0.5.4.2/zlib.cabal
--- old/zlib-0.5.4.1/zlib.cabal 2013-02-28 21:28:29.000000000 +0100
+++ new/zlib-0.5.4.2/zlib.cabal 2014-11-18 12:13:10.000000000 +0100
@@ -1,5 +1,5 @@
 name:            zlib
-version:         0.5.4.1
+version:         0.5.4.2
 copyright:       (c) 2006-2012 Duncan Coutts
 license:         BSD3
 license-file:    LICENSE


Reply via email to