summaryrefslogtreecommitdiff
path: root/p/haskell-blogliterately
diff options
context:
space:
mode:
authorDmitry Bogatov <KAction@gnu.org>2014-12-30 04:59:28 +0300
committerDmitry Bogatov <KAction@gnu.org>2014-12-30 04:59:28 +0300
commit77332d72046c62d95c93910d6a40c225b2e53e1e (patch)
treec4196e03ed1feb23f64a473859c68e975e48a21c /p/haskell-blogliterately
parentccedde286953e65a30c6997c8f493235441aecf8 (diff)
downloadDHG_packages-77332d72046c62d95c93910d6a40c225b2e53e1e.tar.gz
haskell-blogliterately: Add missed patches
Diffstat (limited to 'p/haskell-blogliterately')
-rw-r--r--p/haskell-blogliterately/debian/patches/fix-build-type-error.patch15
-rw-r--r--p/haskell-blogliterately/debian/patches/relax-pandoc-citeproc-dependency.patch15
-rw-r--r--p/haskell-blogliterately/debian/patches/series2
3 files changed, 32 insertions, 0 deletions
diff --git a/p/haskell-blogliterately/debian/patches/fix-build-type-error.patch b/p/haskell-blogliterately/debian/patches/fix-build-type-error.patch
new file mode 100644
index 000000000..e8dc5a62c
--- /dev/null
+++ b/p/haskell-blogliterately/debian/patches/fix-build-type-error.patch
@@ -0,0 +1,15 @@
+Description: Fix type error of unknown source
+Author: Dmitry Bogatov <KAction@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 --git a/p/haskell-blogliterately/debian/patches/relax-pandoc-citeproc-dependency.patch b/p/haskell-blogliterately/debian/patches/relax-pandoc-citeproc-dependency.patch
new file mode 100644
index 000000000..7a65ea6d6
--- /dev/null
+++ b/p/haskell-blogliterately/debian/patches/relax-pandoc-citeproc-dependency.patch
@@ -0,0 +1,15 @@
+Description: Debian provides only pandoc-citeproc-0.4* and it builds happily with it.
+Author: Dmitry Bogatov <KAction@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 --git a/p/haskell-blogliterately/debian/patches/series b/p/haskell-blogliterately/debian/patches/series
new file mode 100644
index 000000000..2afa36934
--- /dev/null
+++ b/p/haskell-blogliterately/debian/patches/series
@@ -0,0 +1,2 @@
+fix-build-type-error.patch
+relax-pandoc-citeproc-dependency.patch