diff --git a/PortMidi.cabal b/PortMidi.cabal
--- a/PortMidi.cabal
+++ b/PortMidi.cabal
@@ -1,6 +1,6 @@
 name:		PortMidi
-version:	0.1.3
-Cabal-Version: >= 1.2
+version:	0.1.4
+Cabal-Version: >= 1.6
 build-type:     Simple
 license:	BSD3
 license-file:	LICENSE
@@ -60,4 +60,7 @@
           portmidi/porttime/porttime.c
           portmidi/porttime/ptwinmm.c
         extra-libraries: winmm 
+source-repository head
+  type:         darcs
+  location:     http://code.haskell.org/PortMidi
 
diff --git a/README.txt b/README.txt
--- a/README.txt
+++ b/README.txt
@@ -57,7 +57,7 @@
 maintainer: Paul H. Liu <paul@thev.net>.
 
 --
-Last Update: Fri Jan 8 EST 2009
+Last Update: Wed May 6 PDT 2015
  
 
 
diff --git a/Sound/PortMidi.hs b/Sound/PortMidi.hs
--- a/Sound/PortMidi.hs
+++ b/Sound/PortMidi.hs
@@ -293,7 +293,7 @@
 foreign import ccall "portmidi.h Pm_WriteSysEx" pm_WriteSysEx :: PMStreamPtr -> CULong -> CString -> IO Int
 writeSysEx :: PMStream -> Timestamp -> String -> IO PMError
 writeSysEx stream time str = withForeignPtr stream (\st ->
-  withCString str (\s -> pm_WriteSysEx st time s >>= return . toEnum))
+  withCAString str (\s -> pm_WriteSysEx st time s >>= return . toEnum))
 
 foreign import ccall "porttime.h Pt_Time" time :: IO Timestamp      
 
