stackage/patching/patches/pandoc-1.12.4.2.patch
2014-08-10 08:49:35 +03:00

67 lines
2.6 KiB
Diff

diff -ruN orig/pandoc.cabal new/pandoc.cabal
--- orig/pandoc.cabal 2014-08-10 08:46:45.330707408 +0300
+++ new/pandoc.cabal 2014-08-10 08:46:44.000000000 +0300
@@ -192,10 +192,6 @@
type: git
location: git://github.com/jgm/pandoc.git
-Flag embed_data_files
- Description: Embed data files in binary for relocatable executable.
- Default: False
-
Flag http-conduit
Description: Enable downloading of resources over https.
Default: True
@@ -223,7 +219,7 @@
random >= 1 && < 1.1,
extensible-exceptions >= 0.1 && < 0.2,
pandoc-types >= 1.12.3.3 && < 1.13,
- aeson >= 0.7 && < 0.8,
+ aeson >= 0.7 && < 0.9,
tagsoup >= 0.13.1 && < 0.14,
base64-bytestring >= 0.1 && < 1.1,
zlib >= 0.5 && < 0.6,
@@ -232,9 +228,9 @@
temporary >= 1.1 && < 1.3,
blaze-html >= 0.5 && < 0.8,
blaze-markup >= 0.5.1 && < 0.7,
- attoparsec >= 0.10 && < 0.12,
+ attoparsec >= 0.10 && < 0.13,
yaml >= 0.8.8.2 && < 0.9,
- scientific >= 0.2 && < 0.3,
+ scientific >= 0.2 && < 0.4,
vector >= 0.10 && < 0.11,
hslua >= 0.3 && < 0.4,
binary >= 0.5 && < 0.8
@@ -243,10 +239,6 @@
Build-Depends: http-conduit >= 1.9 && < 2.2,
http-types >= 0.8 && < 0.9
cpp-options: -DHTTP_CONDUIT
- if flag(embed_data_files)
- cpp-options: -DEMBED_DATA_FILES
- -- Build-Tools: hsb2hs -- not yet recognized by cabal
- other-modules: Text.Pandoc.Data
if os(windows)
Cpp-options: -D_WINDOWS
Ghc-Options: -rtsopts -Wall -fno-warn-unused-do-bind
@@ -329,7 +321,7 @@
bytestring >= 0.9 && < 0.11,
extensible-exceptions >= 0.1 && < 0.2,
highlighting-kate >= 0.5.8 && < 0.6,
- aeson >= 0.7 && < 0.8,
+ aeson >= 0.7 && < 0.9,
yaml >= 0.8.8.2 && < 0.9,
containers >= 0.1 && < 0.6,
HTTP >= 4000.0.5 && < 4000.3
diff -ruN orig/src/Text/Pandoc/Data.hsb new/src/Text/Pandoc/Data.hsb
--- orig/src/Text/Pandoc/Data.hsb 2014-08-10 08:46:45.294707409 +0300
+++ new/src/Text/Pandoc/Data.hsb 1970-01-01 02:00:00.000000000 +0200
@@ -1,7 +0,0 @@
-{-# LANGUAGE OverloadedStrings #-}
--- to be processed using hsb2hs
-module Text.Pandoc.Data (dataFiles) where
-import qualified Data.ByteString as B
-
-dataFiles :: [(FilePath, B.ByteString)]
-dataFiles = %blobs "data"