summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2012-03-16 20:06:06 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2012-03-16 20:06:06 +0000
commitac3a2b6d172a21da39564f2f8648c41a897d244f (patch)
treed3bbb17aee3ef0ed0d049f54fd94667fed0f33a9 /app-text/pandoc/files
parentFix configure dependency. Bug #408469 (diff)
downloadhistorical-ac3a2b6d172a21da39564f2f8648c41a897d244f.tar.gz
historical-ac3a2b6d172a21da39564f2f8648c41a897d244f.tar.bz2
historical-ac3a2b6d172a21da39564f2f8648c41a897d244f.zip
Added missing depends on dev-haskell/random and dev-haskell/syb for ghc-7.4.1 (bug #408443 by Nikolaj Sjujskij).
Package-Manager: portage-2.2.0_alpha90_p1/cvs/Linux x86_64
Diffstat (limited to 'app-text/pandoc/files')
-rw-r--r--app-text/pandoc/files/pandoc-1.9.1.2-haddock-2.10.0.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/app-text/pandoc/files/pandoc-1.9.1.2-haddock-2.10.0.patch b/app-text/pandoc/files/pandoc-1.9.1.2-haddock-2.10.0.patch
new file mode 100644
index 000000000000..a8dd2da53991
--- /dev/null
+++ b/app-text/pandoc/files/pandoc-1.9.1.2-haddock-2.10.0.patch
@@ -0,0 +1,22 @@
+Drop non-ASCII spaces which upset haddock-2.10.0
+diff --git a/src/Text/Pandoc/Readers/Textile.hs b/src/Text/Pandoc/Readers/Textile.hs
+index 3b59543..f334368 100644
+--- a/src/Text/Pandoc/Readers/Textile.hs
++++ b/src/Text/Pandoc/Readers/Textile.hs
+@@ -228,14 +228,14 @@ bulletListItemAtDepth depth = try $ do
+ return (p:sublist)
+
+ -- | Ordered List of given depth, depth being the number of
+--- leading '#'
++-- leading '#'
+ orderedListAtDepth :: Int -> GenParser Char ParserState Block
+ orderedListAtDepth depth = try $ do
+ items <- many1 (orderedListItemAtDepth depth)
+ return (OrderedList (1, DefaultStyle, DefaultDelim) items)
+
+ -- | Ordered List Item of given depth, depth being the number of
+--- leading '#'
++-- leading '#'
+ orderedListItemAtDepth :: Int -> GenParser Char ParserState [Block]
+ orderedListItemAtDepth depth = try $ do
+ count depth (char '#')