diff options
author | Albert Krewinkel <albert@zeitkraut.de> | 2017-03-24 21:19:55 +0100 |
---|---|---|
committer | Albert Krewinkel <albert@zeitkraut.de> | 2017-03-24 21:31:35 +0100 |
commit | 1e13e98ecfba2d78a88ba42bb54c8cdc15929e2d (patch) | |
tree | b61810b5eeba033c49963f67a0984227cfa26677 /pandoc.cabal | |
parent | 14e7d3dbfff30af2ffde149dac860a736030673b (diff) | |
download | pandoc-1e13e98ecfba2d78a88ba42bb54c8cdc15929e2d.tar.gz |
Ensure compatibility with hslua 0.5.*
The 0.5.0 release of hslua fixes problems with lua C modules on linux.
The signature of the `loadstring` function changed, so a compatibility
wrapper is introduced to allow both 0.4.* and 0.5.* versions to be used.
Diffstat (limited to 'pandoc.cabal')
-rw-r--r-- | pandoc.cabal | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pandoc.cabal b/pandoc.cabal index b56f29b48..4e3edf008 100644 --- a/pandoc.cabal +++ b/pandoc.cabal @@ -303,7 +303,7 @@ Library yaml >= 0.8.8.2 && < 0.9, scientific >= 0.2 && < 0.4, vector >= 0.10 && < 0.13, - hslua >= 0.3 && < 0.5, + hslua >= 0.4 && < 0.6, binary >= 0.5 && < 0.9, SHA >= 1.6 && < 1.7, haddock-library >= 1.1 && < 1.5, @@ -446,6 +446,7 @@ Library Text.Pandoc.Readers.Org.ParserState, Text.Pandoc.Readers.Org.Parsing, Text.Pandoc.Readers.Org.Shared, + Text.Pandoc.Lua.Compat, Text.Pandoc.Lua.PandocModule, Text.Pandoc.CSS, Text.Pandoc.UUID, |