From: | "Mark Wright (gienah)" <gienah@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-haskell/regex-pcre-builtin/files: regex-pcre-builtin-0.94.2.1.7.7-ghc-7.5.patch |
Date: | Sat, 02 Jun 2012 03:51:03 |
Message-Id: | 20120602035052.744BC2004C@flycatcher.gentoo.org |
1 | gienah 12/06/02 03:50:52 |
2 | |
3 | Added: regex-pcre-builtin-0.94.2.1.7.7-ghc-7.5.patch |
4 | Log: |
5 | Fix build with ghc 7.5 dev snapshot |
6 | |
7 | (Portage version: 2.1.10.63/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 dev-haskell/regex-pcre-builtin/files/regex-pcre-builtin-0.94.2.1.7.7-ghc-7.5.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/regex-pcre-builtin/files/regex-pcre-builtin-0.94.2.1.7.7-ghc-7.5.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/regex-pcre-builtin/files/regex-pcre-builtin-0.94.2.1.7.7-ghc-7.5.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: regex-pcre-builtin-0.94.2.1.7.7-ghc-7.5.patch |
16 | =================================================================== |
17 | --- regex-pcre-builtin-0.94.2.1.7.7-orig/Text/Regex/PCRE/Wrap.hsc 2009-05-21 16:44:47.000000000 +1000 |
18 | +++ regex-pcre-builtin-0.94.2.1.7.7/Text/Regex/PCRE/Wrap.hsc 2012-05-19 15:04:34.225820227 +1000 |
19 | @@ -90,6 +90,9 @@ |
20 | import Text.Regex.Base.RegexLike(RegexOptions(..),RegexMaker(..),RegexContext(..),MatchArray,MatchOffset) |
21 | #endif |
22 | |
23 | +#if (__GLASGOW_HASKELL__>=705) |
24 | +import Foreign.C.Types(CInt(..), CSize(..)) |
25 | +#endif |
26 | |
27 | -- | return version of pcre used or Nothing if pcre is not available. |
28 | getVersion :: Maybe String |