diff --git a/LICENSE b/LICENSE
--- a/LICENSE
+++ b/LICENSE
@@ -1,4 +1,4 @@
-Copyright (c)2010,2011, Claude Heiland-Allen
+Copyright (c)2010,2011,2012 Claude Heiland-Allen
 
 All rights reserved.
 
diff --git a/Numeric/QD.hs b/Numeric/QD.hs
--- a/Numeric/QD.hs
+++ b/Numeric/QD.hs
@@ -3,7 +3,7 @@
 Copyright   :  (c) Claude Heiland-Allen 2011
 License     :  BSD3
 
-Maintainer  :  claudiusmaximus@goto10.org
+Maintainer  :  claude@mathr.co.uk
 Stability   :  unstable
 Portability :  portable
 
diff --git a/Numeric/QD/DoubleDouble.hs b/Numeric/QD/DoubleDouble.hs
--- a/Numeric/QD/DoubleDouble.hs
+++ b/Numeric/QD/DoubleDouble.hs
@@ -3,7 +3,7 @@
 Copyright   :  (c) Claude Heiland-Allen 2011
 License     :  BSD3
 
-Maintainer  :  claudiusmaximus@goto10.org
+Maintainer  :  claude@mathr.co.uk
 Stability   :  unstable
 Portability :  portable
 
@@ -17,7 +17,8 @@
   , sqr
   ) where
 
-import Foreign (Ptr, alloca, castPtr, Storable(..), unsafePerformIO, with)
+import Foreign (Ptr, alloca, castPtr, Storable(..), with)
+import System.IO.Unsafe (unsafePerformIO)
 import Foreign.C (CDouble, CInt)
 import Data.Ratio ((%))
 import Data.Bits (shiftL)
diff --git a/Numeric/QD/DoubleDouble/Raw.hs b/Numeric/QD/DoubleDouble/Raw.hs
--- a/Numeric/QD/DoubleDouble/Raw.hs
+++ b/Numeric/QD/DoubleDouble/Raw.hs
@@ -3,7 +3,7 @@
 Copyright   :  (c) Claude Heiland-Allen 2011
 License     :  BSD3
 
-Maintainer  :  claudiusmaximus@goto10.org
+Maintainer  :  claude@mathr.co.uk
 Stability   :  unstable
 Portability :  portable
 
diff --git a/Numeric/QD/DoubleDouble/Raw/Safe.hs b/Numeric/QD/DoubleDouble/Raw/Safe.hs
--- a/Numeric/QD/DoubleDouble/Raw/Safe.hs
+++ b/Numeric/QD/DoubleDouble/Raw/Safe.hs
@@ -3,7 +3,7 @@
 Copyright   :  (c) Claude Heiland-Allen 2011
 License     :  BSD3
 
-Maintainer  :  claudiusmaximus@goto10.org
+Maintainer  :  claude@mathr.co.uk
 Stability   :  unstable
 Portability :  portable
 
@@ -67,7 +67,7 @@
   ) where
 
 import Foreign (Ptr)
-import Foreign.C (CChar, CDouble, CInt)
+import Foreign.C (CChar(..), CDouble(..), CInt(..))
 
 foreign import ccall unsafe "safe_dd.h safe_dd_add" c_dd_add :: Ptr CDouble -> Ptr CDouble -> Ptr CDouble -> IO ()
 foreign import ccall unsafe "safe_dd.h safe_dd_add_d_dd" c_dd_add_d_dd :: CDouble -> Ptr CDouble -> Ptr CDouble -> IO ()
diff --git a/Numeric/QD/DoubleDouble/Raw/Unsafe.hs b/Numeric/QD/DoubleDouble/Raw/Unsafe.hs
--- a/Numeric/QD/DoubleDouble/Raw/Unsafe.hs
+++ b/Numeric/QD/DoubleDouble/Raw/Unsafe.hs
@@ -3,7 +3,7 @@
 Copyright   :  (c) Claude Heiland-Allen 2011
 License     :  BSD3
 
-Maintainer  :  claudiusmaximus@goto10.org
+Maintainer  :  claude@mathr.co.uk
 Stability   :  unstable
 Portability :  portable
 
@@ -67,7 +67,7 @@
   ) where
 
 import Foreign (Ptr)
-import Foreign.C (CChar, CDouble, CInt)
+import Foreign.C (CChar(..), CDouble(..), CInt(..))
 
 foreign import ccall unsafe "qd/c_dd.h c_dd_add" c_dd_add :: Ptr CDouble -> Ptr CDouble -> Ptr CDouble -> IO ()
 foreign import ccall unsafe "qd/c_dd.h c_dd_add_d_dd" c_dd_add_d_dd :: CDouble -> Ptr CDouble -> Ptr CDouble -> IO ()
diff --git a/Numeric/QD/FPU/Raw/Unsafe.hs b/Numeric/QD/FPU/Raw/Unsafe.hs
--- a/Numeric/QD/FPU/Raw/Unsafe.hs
+++ b/Numeric/QD/FPU/Raw/Unsafe.hs
@@ -3,7 +3,7 @@
 Copyright   :  (c) Claude Heiland-Allen 2011
 License     :  BSD3
 
-Maintainer  :  claudiusmaximus@goto10.org
+Maintainer  :  claude@mathr.co.uk
 Stability   :  unstable
 Portability :  portable
 
diff --git a/Numeric/QD/FPU/Unsafe.hs b/Numeric/QD/FPU/Unsafe.hs
--- a/Numeric/QD/FPU/Unsafe.hs
+++ b/Numeric/QD/FPU/Unsafe.hs
@@ -3,7 +3,7 @@
 Copyright   :  (c) Claude Heiland-Allen 2011
 License     :  BSD3
 
-Maintainer  :  claudiusmaximus@goto10.org
+Maintainer  :  claude@mathr.co.uk
 Stability   :  unstable
 Portability :  portable
 
diff --git a/Numeric/QD/QuadDouble.hs b/Numeric/QD/QuadDouble.hs
--- a/Numeric/QD/QuadDouble.hs
+++ b/Numeric/QD/QuadDouble.hs
@@ -3,7 +3,7 @@
 Copyright   :  (c) Claude Heiland-Allen 2011
 License     :  BSD3
 
-Maintainer  :  claudiusmaximus@goto10.org
+Maintainer  :  claude@mathr.co.uk
 Stability   :  unstable
 Portability :  portable
 
@@ -19,7 +19,8 @@
   , sqr
   ) where
 
-import Foreign (Ptr, alloca, castPtr, Storable(..), unsafePerformIO, with)
+import Foreign (Ptr, alloca, castPtr, Storable(..), with)
+import System.IO.Unsafe (unsafePerformIO)
 import Foreign.C (CDouble, CInt)
 import Data.Bits (shiftL)
 import Data.Ratio ((%))
diff --git a/Numeric/QD/QuadDouble/Raw.hs b/Numeric/QD/QuadDouble/Raw.hs
--- a/Numeric/QD/QuadDouble/Raw.hs
+++ b/Numeric/QD/QuadDouble/Raw.hs
@@ -3,7 +3,7 @@
 Copyright   :  (c) Claude Heiland-Allen 2011
 License     :  BSD3
 
-Maintainer  :  claudiusmaximus@goto10.org
+Maintainer  :  claude@mathr.co.uk
 Stability   :  unstable
 Portability :  portable
 
diff --git a/Numeric/QD/QuadDouble/Raw/Safe.hs b/Numeric/QD/QuadDouble/Raw/Safe.hs
--- a/Numeric/QD/QuadDouble/Raw/Safe.hs
+++ b/Numeric/QD/QuadDouble/Raw/Safe.hs
@@ -3,7 +3,7 @@
 Copyright   :  (c) Claude Heiland-Allen 2011
 License     :  BSD3
 
-Maintainer  :  claudiusmaximus@goto10.org
+Maintainer  :  claude@mathr.co.uk
 Stability   :  unstable
 Portability :  portable
 
@@ -88,7 +88,7 @@
   ) where
 
 import Foreign (Ptr)
-import Foreign.C (CChar, CDouble, CInt)
+import Foreign.C (CChar(..), CDouble(..), CInt(..))
 
 foreign import ccall unsafe "safe_qd.h safe_qd_add" c_qd_add :: Ptr CDouble -> Ptr CDouble -> Ptr CDouble -> IO ();
 foreign import ccall unsafe "safe_qd.h safe_qd_add_dd_qd" c_qd_add_dd_qd :: Ptr CDouble -> Ptr CDouble -> Ptr CDouble -> IO ();
diff --git a/Numeric/QD/QuadDouble/Raw/Unsafe.hs b/Numeric/QD/QuadDouble/Raw/Unsafe.hs
--- a/Numeric/QD/QuadDouble/Raw/Unsafe.hs
+++ b/Numeric/QD/QuadDouble/Raw/Unsafe.hs
@@ -3,7 +3,7 @@
 Copyright   :  (c) Claude Heiland-Allen 2011
 License     :  BSD3
 
-Maintainer  :  claudiusmaximus@goto10.org
+Maintainer  :  claude@mathr.co.uk
 Stability   :  unstable
 Portability :  portable
 
@@ -88,7 +88,7 @@
   ) where
 
 import Foreign (Ptr)
-import Foreign.C (CChar, CDouble, CInt)
+import Foreign.C (CChar(..), CDouble(..), CInt(..))
 
 foreign import ccall unsafe "qd/c_qd.h c_qd_add" c_qd_add :: Ptr CDouble -> Ptr CDouble -> Ptr CDouble -> IO ();
 foreign import ccall unsafe "qd/c_qd.h c_qd_add_dd_qd" c_qd_add_dd_qd :: Ptr CDouble -> Ptr CDouble -> Ptr CDouble -> IO ();
diff --git a/Numeric/QD/Raw.hs b/Numeric/QD/Raw.hs
--- a/Numeric/QD/Raw.hs
+++ b/Numeric/QD/Raw.hs
@@ -3,7 +3,7 @@
 Copyright   :  (c) Claude Heiland-Allen 2011
 License     :  BSD3
 
-Maintainer  :  claudiusmaximus@goto10.org
+Maintainer  :  claude@mathr.co.uk
 Stability   :  unstable
 Portability :  portable
 
diff --git a/Numeric/QD/Raw/Safe.hs b/Numeric/QD/Raw/Safe.hs
--- a/Numeric/QD/Raw/Safe.hs
+++ b/Numeric/QD/Raw/Safe.hs
@@ -3,7 +3,7 @@
 Copyright   :  (c) Claude Heiland-Allen 2011
 License     :  BSD3
 
-Maintainer  :  claudiusmaximus@goto10.org
+Maintainer  :  claude@mathr.co.uk
 Stability   :  unstable
 Portability :  portable
 
diff --git a/Numeric/QD/Raw/Unsafe.hs b/Numeric/QD/Raw/Unsafe.hs
--- a/Numeric/QD/Raw/Unsafe.hs
+++ b/Numeric/QD/Raw/Unsafe.hs
@@ -3,7 +3,7 @@
 Copyright   :  (c) Claude Heiland-Allen 2011
 License     :  BSD3
 
-Maintainer  :  claudiusmaximus@goto10.org
+Maintainer  :  claude@mathr.co.uk
 Stability   :  unstable
 Portability :  portable
 
diff --git a/qd.cabal b/qd.cabal
--- a/qd.cabal
+++ b/qd.cabal
@@ -1,5 +1,5 @@
 Name:                 qd
-Version:              1.0
+Version:              1.0.2.1
 Synopsis:             double-double and quad-double number type via libqd
 Description:
     This package supports both a double-double datatype (approx. 32 decimal digits)
@@ -16,23 +16,18 @@
     use 80bit.  When using the Unsafe modules this might cause erroneous results;
     the Safe modules (used by the instances above) set and restore the FPU flags
     in foreign code to avoid race conditions from pre-emptive Haskell threading.
-    .
-    The @'RealFloat'@ instances have been removed in this release as they were
-    mostly broken: @'RealFloat'@ semantics are for fixed-precision numbers.
 
 License:              BSD3
 License-file:         LICENSE
 Author:               Claude Heiland-Allen
-Maintainer:           claudiusmaximus@goto10.org
+Maintainer:           claude@mathr.co.uk
 Category:             Math
 Build-type:           Simple
-Cabal-version:        >=1.2
+Cabal-version:        >=1.6
 
 Library
   Build-depends:      base >= 4 && < 5, floatshow >= 0.2 && < 0.3
   Extra-Libraries:    qd
-  if os(linux)
-    Extra-libraries:  stdc++
   Exposed-modules:    Numeric.QD
                       Numeric.QD.DoubleDouble
                       Numeric.QD.QuadDouble
@@ -50,3 +45,12 @@
   C-sources:          cbits/safe_dd.c cbits/safe_qd.c
   GHC-options:        -Wall -fno-excess-precision
   GHC-prof-options:   -prof -auto-all -caf-all
+
+source-repository head
+  type:     git
+  location: git://gitorious.org/hsqd/hsqd.git
+
+source-repository this
+  type:     git
+  location: git://gitorious.org/hsqd/hsqd.git
+  tag:      v1.0.2.1
