regex-pcre 0.94.2 → 0.94.3
raw patch · 2 files changed
+11/−6 lines, 2 filesdep ~basePVP ok
version bump matches the API change (PVP)
Dependency ranges changed: base
API changes (from Hackage documentation)
Files
- Text/Regex/PCRE/Wrap.hsc +8/−3
- regex-pcre.cabal +3/−3
Text/Regex/PCRE/Wrap.hsc view
@@ -73,12 +73,17 @@ import Control.Monad(when) import Data.Array(Array,accumArray) import Data.Bits(Bits((.|.))) -- ((.&.),(.|.),complement))-import Foreign(unsafePerformIO- ,Ptr,ForeignPtr,FinalizerPtr -- ,FunPtr+import System.IO.Unsafe(unsafePerformIO)+import Foreign(Ptr,ForeignPtr,FinalizerPtr -- ,FunPtr ,alloca,allocaBytes,nullPtr ,peek,peekElemOff ,newForeignPtr,withForeignPtr)-import Foreign.C(CInt,CChar)+import Foreign.C(CChar)+#if __GLASGOW_HASKELL__ >= 703+import Foreign.C(CInt(CInt))+#else+import Foreign.C(CInt)+#endif import Foreign.C.String(CString,CStringLen,peekCString) import Text.Regex.Base.RegexLike(RegexOptions(..),RegexMaker(..),RegexContext(..),MatchArray,MatchOffset) #else
regex-pcre.cabal view
@@ -1,6 +1,6 @@ Name: regex-pcre -- Keep the Version below in sync with ./Text/Regex/PCRE.hs value getVersion_Text_Regex_PCRE :: Version-Version: 0.94.2+Version: 0.94.3 Cabal-Version: >=1.2.3 License: BSD3 License-File: LICENSE@@ -64,5 +64,5 @@ -- anyway. The resulting regex-posix will exist, but throw errors. CC-Options: -DHAVE_PCRE_H Extra-Libraries: pcre- --Include-Dirs: /opt/local/include- --Extra-Lib-Dirs: /opt/local/lib+ Include-Dirs: /opt/local/include+ Extra-Lib-Dirs: /opt/local/lib