regex-posix 0.94.0 → 0.94.1
raw patch · 3 files changed
+7/−7 lines, 3 filesdep ~basesetup-changed
Dependency ranges changed: base
Files
- Setup.hs +5/−5
- Text/Regex/Posix/Wrap.hsc +1/−1
- regex-posix.cabal +1/−1
Setup.hs view
@@ -1,13 +1,13 @@ #!/usr/bin/env runhaskell --- I usually compile this with "ghc --make -o setup Setup.hs"--import Distribution.Simple(defaultMainWithHooks, defaultUserHooks)+import Distribution.Simple main = do putStrLn msg- defaultMainWithHooks defaultUserHooks+ defaultMainWithHooks simpleUserHooks msg = "This links to the standard c library version of regular expressions.\n\ \The corresponding c header file is regex.h and there is a chance you\n\ \will need to edit the end of the regex-posix.cabal file to find the\n\- \include directory and/or library.\n"+ \include directory and/or library.\n\+ \Alternatively you can try and use flags to the cabal executable to\n\+ \specify the include and lib directories."
Text/Regex/Posix/Wrap.hsc view
@@ -117,7 +117,7 @@ import Control.Monad(mapM,liftM) import Data.Array(Array,listArray) import Data.Bits(Bits(..))-import Data.Int(Int64) -- need whatever RegeOffset or #regoff_t type will be+import Data.Int(Int32,Int64) -- need whatever RegeOffset or #regoff_t type will be import Foreign(Ptr, FunPtr, nullPtr, mallocForeignPtrBytes, addForeignPtrFinalizer, Storable(peekByteOff), allocaArray, allocaBytes, withForeignPtr,ForeignPtr,plusPtr,peekElemOff)
regex-posix.cabal view
@@ -1,6 +1,6 @@ Name: regex-posix -- Keep the Version below in sync with ./Text/Regex/Posix.hs value getVersion_Text_Regex_Posix :: Version-Version: 0.94.0+Version: 0.94.1 Cabal-Version: >=1.2 Build-Type: Custom License: BSD3