Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix building with GHC 7.6.1

This change doesn't have WXWIDGETS_2_8 specific change for helping
to pick (or merge) this change to HEAD.

I'll commit WXWIDGETS_2_8 specific change next time.
  • Loading branch information...
commit 5149eb3ba177efd305a243597adbd6090beef8c0 1 parent d2646f7
@shelarcy authored
View
1  wxcore/src/haskell/Graphics/UI/WXCore/Events.hs
@@ -237,6 +237,7 @@ import System.Environment( getProgName, getArgs )
import Foreign.StablePtr
import Foreign.Ptr
import Foreign.C.String
+import Foreign.C.Types
import Foreign.Marshal.Alloc
import Foreign.Marshal.Array
import Foreign.Marshal.Utils
View
2  wxcore/wxcore.cabal
@@ -209,7 +209,7 @@ library
build-depends:
array >= 0.2 && < 0.5,
base >= 4 && < 5,
- containers >= 0.2 && < 0.5
+ containers >= 0.2 && < 0.6
else
build-depends:
array >= 0.1 && < 0.3,
View
1  wxdirect/src/CompileClasses.hs
@@ -100,6 +100,7 @@ compileClassesFile showIgnore moduleRoot moduleClassTypesName moduleName outputF
, ""
, "import qualified Data.ByteString as B (ByteString, useAsCStringLen)"
, "import qualified Data.ByteString.Lazy as LB (ByteString, length, unpack)"
+ , "import Foreign.C.Types"
, "import System.IO.Unsafe( unsafePerformIO )"
, "import " ++ moduleRoot ++ "WxcTypes"
, "import " ++ moduleRoot ++ moduleClassTypesName
View
2  wxdirect/wxdirect.cabal
@@ -68,7 +68,7 @@ executable wxdirect
if flag(splitBase)
build-depends:
base >= 4 && < 5,
- containers >= 0.2 && < 0.5
+ containers >= 0.2 && < 0.6
else
build-depends:
base >= 3 && < 4,
Please sign in to comment.
Something went wrong with that request. Please try again.