Browse Source

Ported to GHC 7.10

Marcos Dumay de Medeiros 6 years ago
parent
commit
246bfceb82
4 changed files with 11 additions and 10 deletions
  1. 0 0
      cbits/ds.c
  2. 0 0
      cbits/ds.h
  3. 1 0
      src/System/IO/Uniform/External.hs
  4. 10 10
      uniform-io.cabal

+ 0 - 0
src/System/IO/Uniform/ds.c → cbits/ds.c


+ 0 - 0
src/System/IO/Uniform/ds.h → cbits/ds.h


+ 1 - 0
src/System/IO/Uniform/External.hs

@@ -1,4 +1,5 @@
 {-# LANGUAGE ForeignFunctionInterface, InterruptibleFFI, EmptyDataDecls #-}
+{-# CFILES src/System/IO/Uniform/ds.c #-}
 
 module System.IO.Uniform.External where
 

+ 10 - 10
uniform-io.cabal

@@ -100,14 +100,14 @@ library
   
   -- Other library packages from which modules are imported.
   build-depends:
-      base >=4.7 && <4.8,
-      iproute >=1.4 && <2.0,
-      bytestring >=0.10 && <1.0,
-      network >=2.4 && <3.0,
-      transformers >=0.3 && <1.0,
-      word8 >=0.1 && <1.0,
-      attoparsec >=0.13.0.1 && <1.0,
-      data-default-class >= 0.0.1 && <1.0
+      base >=4.8 && <4.9 ,
+      iproute >=1.4,
+      bytestring >=0.10,
+      network >=2.4,
+      transformers >=0.3,
+      word8 >=0.1,
+      attoparsec >=0.13.0.1,
+      data-default-class >= 0.0.1
   
   -- Directories containing source files.
   hs-source-dirs: src
@@ -115,10 +115,10 @@ library
   -- Base language which the package is written in.
   default-language: Haskell2010
 
-  include-dirs: src/System/IO/Uniform
+  include-dirs: cbits
   includes: ds.h
   install-includes: ds.h
-  C-Sources: src/System/IO/Uniform/ds.c
+  C-Sources: cbits/ds.c
   extra-libraries: ssl, crypto, pthread
 
 Test-suite targets