diff --git a/Data/PPrint.hs b/Data/PPrint.hs
--- a/Data/PPrint.hs
+++ b/Data/PPrint.hs
@@ -1,3 +1,4 @@
+{-# OPTIONS_GHC -Wno-incomplete-uni-patterns #-}
 -- |Prettyprint and compare 'Data' values.
 module Data.PPrint
     ( pprint
@@ -60,6 +61,6 @@
 showBotts :: [(String, String)] -> Doc
 showBotts es = vcat $ map f es
  where
-    f (i, e) = text i <> text ":" <+> vcat (map text $ lines e)
+    f (i, e) = text i Text.PrettyPrint.HughesPJ.<> text ":" <+> vcat (map text $ lines e)
 
 
diff --git a/data-pprint.cabal b/data-pprint.cabal
--- a/data-pprint.cabal
+++ b/data-pprint.cabal
@@ -1,5 +1,5 @@
 name:                data-pprint
-version:             0.2.4.1
+version:             0.2.4.2
 category:            Testing, Text
 synopsis:            Prettyprint and compare Data values
 description:
@@ -46,7 +46,7 @@
 license-file:        LICENSE
 author:              Péter Diviánszky
 maintainer:          divipp@gmail.com
-cabal-version:       >=1.6
+cabal-version:       >=1.10
 build-type:          Simple
 
 source-repository head
@@ -54,7 +54,8 @@
   location:         https://github.com/divipp/ActiveHs-misc
 
 library
-  ghc-options:       -Wall -fno-warn-name-shadowing -fno-warn-orphans
+  ghc-options:       -Wall -fno-warn-name-shadowing -fno-warn-orphans -Wno-incomplete-uni-patterns
+  default-language:  Haskell2010
   exposed-modules:
     Data.PPrint,
     Data.Data.Eval,
@@ -68,10 +69,10 @@
     System.IO.Parallel
   other-modules:
   build-depends:
-    base >= 4.0 && < 4.10,
+    base >= 4.0 && < 4.17,
     pretty >= 1.0 && < 1.2,
     mtl >= 2.0 && < 2.3,
     deepseq >= 1.1 && < 1.5,
-    time >= 1.2 && < 1.6,
+    time >= 1.2 && < 1.14,
     parallel >= 3.1 && < 3.3
 
