Hello community, here is the log from the commit of package cpphs for openSUSE:Factory checked in at 2015-09-02 00:36:05 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/cpphs (Old) and /work/SRC/openSUSE:Factory/.cpphs.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "cpphs" Changes: -------- --- /work/SRC/openSUSE:Factory/cpphs/cpphs.changes 2015-08-05 06:51:59.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.cpphs.new/cpphs.changes 2015-09-02 00:36:06.000000000 +0200 @@ -1,0 +2,6 @@ +Mon Aug 31 07:58:58 UTC 2015 - mimi...@gmail.com + +- update to 1.19.3 +* bugfix for hlint ticket #161 - interaction of --unlit/--linepragma + +------------------------------------------------------------------- Old: ---- cpphs-1.19.2.tar.gz New: ---- cpphs-1.19.3.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cpphs.spec ++++++ --- /var/tmp/diff_new_pack.SfSKOF/_old 2015-09-02 00:36:06.000000000 +0200 +++ /var/tmp/diff_new_pack.SfSKOF/_new 2015-09-02 00:36:06.000000000 +0200 @@ -18,7 +18,7 @@ %global pkg_name cpphs Name: cpphs -Version: 1.19.2 +Version: 1.19.3 Release: 0 Summary: A liberalised re-implementation of cpp, the C pre-processor License: GPL-2.0+ ++++++ cpphs-1.19.2.tar.gz -> cpphs-1.19.3.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cpphs-1.19.2/CHANGELOG new/cpphs-1.19.3/CHANGELOG --- old/cpphs-1.19.2/CHANGELOG 2015-07-31 09:32:09.000000000 +0200 +++ new/cpphs-1.19.3/CHANGELOG 2015-08-23 11:09:27.000000000 +0200 @@ -4,6 +4,7 @@ * allow the static linking exception to the LGPL * (1.19.1): don't warn about trailing comments in #ifdefs * (1.19.2): fix build error + * (1.19.3): bugfix for hlint ticket #161 - interaction of --unlit/--linepragma Version 1.18 ------------ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cpphs-1.19.2/Language/Preprocessor/Cpphs/CppIfdef.hs new/cpphs-1.19.3/Language/Preprocessor/Cpphs/CppIfdef.hs --- old/cpphs-1.19.2/Language/Preprocessor/Cpphs/CppIfdef.hs 2015-07-31 09:32:09.000000000 +0200 +++ new/cpphs-1.19.3/Language/Preprocessor/Cpphs/CppIfdef.hs 2015-08-23 11:09:26.000000000 +0200 @@ -44,10 +44,11 @@ -> String -- ^ The input file content -> IO [(Posn,String)] -- ^ The file after processing (in lines) cppIfdef fp syms search options = - cpp posn defs search options (Keep []) . (cppline posn:) . linesCpp + cpp posn defs search options (Keep []) . initial . linesCpp where posn = newfile fp defs = preDefine options syms + initial = if literate options then id else (cppline posn:) -- Previous versions had a very simple symbol table mapping strings -- to strings. Now the #ifdef pass uses a more elaborate table, in -- particular to deal with parameterised macros in conditionals. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cpphs-1.19.2/Language/Preprocessor/Unlit.hs new/cpphs-1.19.3/Language/Preprocessor/Unlit.hs --- old/cpphs-1.19.2/Language/Preprocessor/Unlit.hs 2015-07-31 09:32:09.000000000 +0200 +++ new/cpphs-1.19.3/Language/Preprocessor/Unlit.hs 2015-08-23 11:09:26.000000000 +0200 @@ -21,6 +21,7 @@ -> Include (read line) (unwords rest) _ -> Pre x ) : classify xs +--classify (x:xs) | "{-# LINE" `isPrefixOf` x = Program x: classify xs classify (x:xs) | all isSpace x = Blank:classify xs classify (x:xs) = Comment:classify xs diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cpphs-1.19.2/cpphs.cabal new/cpphs-1.19.3/cpphs.cabal --- old/cpphs-1.19.2/cpphs.cabal 2015-07-31 09:32:09.000000000 +0200 +++ new/cpphs-1.19.3/cpphs.cabal 2015-08-23 11:09:27.000000000 +0200 @@ -1,5 +1,5 @@ Name: cpphs -Version: 1.19.2 +Version: 1.19.3 Copyright: 2004-2015, Malcolm Wallace License: LGPL License-File: LICENCE-LGPL diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cpphs-1.19.2/cpphs.hs new/cpphs-1.19.3/cpphs.hs --- old/cpphs-1.19.2/cpphs.hs 2015-07-31 09:32:09.000000000 +0200 +++ new/cpphs-1.19.3/cpphs.hs 2015-08-23 11:09:26.000000000 +0200 @@ -20,7 +20,7 @@ import Data.List ( isPrefixOf ) version :: String -version = "1.19.2" +version = "1.19.3" main :: IO () main = do diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cpphs-1.19.2/docs/index.html new/cpphs-1.19.3/docs/index.html --- old/cpphs-1.19.2/docs/index.html 2015-07-31 09:32:09.000000000 +0200 +++ new/cpphs-1.19.3/docs/index.html 2015-08-23 11:09:27.000000000 +0200 @@ -198,11 +198,12 @@ <b>Current stable version:</b> <p> -cpphs-1.19.2, release date 2015-07-31<br> +cpphs-1.19.3, release date 2015-08-23<br> By HTTP: <a href="http://hackage.haskell.org/package/cpphs">Hackage</a>. <ul> -<li> fix build error +<li> bugfix for hlint ticket #161, for + the interaction of --unlit and --linepragma options </ul> <p> @@ -226,6 +227,14 @@ <b>Older versions:</b> <p> +cpphs-1.19.2, release date 2015-07-31<br> +By HTTP: +<a href="http://hackage.haskell.org/package/cpphs">Hackage</a>. +<ul> +<li> fix build error +</ul> + +<p> cpphs-1.19.1, release date 2015-07-30<br> By HTTP: <a href="http://hackage.haskell.org/package/cpphs">Hackage</a>.