From ac3a2b6d172a21da39564f2f8648c41a897d244f Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Fri, 16 Mar 2012 20:06:06 +0000 Subject: 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 --- .../files/pandoc-1.9.1.2-haddock-2.10.0.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 app-text/pandoc/files/pandoc-1.9.1.2-haddock-2.10.0.patch (limited to 'app-text/pandoc/files') 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 '#') -- cgit v1.2.3-65-gdbad