[Pkg-haskell-commits] darcs: haskell-blogliterately: Add missed patches

Dmitry Bogatov KAction at gnu.org
Tue Dec 30 02:02:20 UTC 2014


Tue Dec 30 01:59:28 UTC 2014  Dmitry Bogatov <KAction at gnu.org>
  * Add missed patches

    A ./patches/fix-build-type-error.patch
    A ./patches/relax-pandoc-citeproc-dependency.patch
    A ./patches/series

Tue Dec 30 01:59:28 UTC 2014  Dmitry Bogatov <KAction at gnu.org>
  * Add missed patches
diff -rN -u old-haskell-blogliterately/patches/fix-build-type-error.patch new-haskell-blogliterately/patches/fix-build-type-error.patch
--- old-haskell-blogliterately/patches/fix-build-type-error.patch	1970-01-01 00:00:00.000000000 +0000
+++ new-haskell-blogliterately/patches/fix-build-type-error.patch	2014-12-30 02:02:20.656596640 +0000
@@ -0,0 +1,15 @@
+Description: Fix type error of unknown source
+Author: Dmitry Bogatov <KAction at gnu.org>
+Forwarded: yes
+Last-Update: 2014-12-04
+--- a/src/Text/BlogLiterately/Transform.hs
++++ b/src/Text/BlogLiterately/Transform.hs
+@@ -367,7 +367,7 @@ xformDoc bl xforms =
+                    }
+     mathOption opt
+       | opt `isPrefixOf` "latexmathml" ||
+-        opt `isPrefixOf` "asciimathml" = LaTeXMathML (mathUrlMaybe opt)
++        opt `isPrefixOf` "asciimathml" = LaTeXMathML (urlPart opt)
+       | opt `isPrefixOf` "mathml"      = MathML (mathUrlMaybe opt)
+       | opt `isPrefixOf` "mimetex"     =
+           WebTeX (mathUrl "/cgi-bin/mimetex.cgi?" opt)
diff -rN -u old-haskell-blogliterately/patches/relax-pandoc-citeproc-dependency.patch new-haskell-blogliterately/patches/relax-pandoc-citeproc-dependency.patch
--- old-haskell-blogliterately/patches/relax-pandoc-citeproc-dependency.patch	1970-01-01 00:00:00.000000000 +0000
+++ new-haskell-blogliterately/patches/relax-pandoc-citeproc-dependency.patch	2014-12-30 02:02:20.656596640 +0000
@@ -0,0 +1,15 @@
+Description: Debian provides only pandoc-citeproc-0.4* and it builds happily with it.
+Author: Dmitry Bogatov <KAction at gnu.org>
+Forwarded: no
+Last-Update: 2014-12-04
+--- a/BlogLiterately.cabal
++++ b/BlogLiterately.cabal
+@@ -60,7 +60,7 @@ Library
+                    haxr >= 3000.9 && < 3000.11,
+                    pandoc >= 1.12 && < 1.13,
+                    pandoc-types >= 1.12 && < 1.13,
+-                   pandoc-citeproc >= 0.1.2 && < 0.4,
++                   pandoc-citeproc >= 0.1.2,
+                    highlighting-kate >= 0.5 && < 0.6,
+                    data-default >= 0.5 && < 0.6,
+                    lens >= 3.8 && < 4.3
diff -rN -u old-haskell-blogliterately/patches/series new-haskell-blogliterately/patches/series
--- old-haskell-blogliterately/patches/series	1970-01-01 00:00:00.000000000 +0000
+++ new-haskell-blogliterately/patches/series	2014-12-30 02:02:20.656596640 +0000
@@ -0,0 +1,2 @@
+fix-build-type-error.patch
+relax-pandoc-citeproc-dependency.patch




More information about the Pkg-haskell-commits mailing list