summaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2009-09-10 11:11:56 +0000
committerSimon Marlow <marlowsd@gmail.com>2009-09-10 11:11:56 +0000
commit95693ea90582d7d240ed5a3c0dee9b417eed33c1 (patch)
tree71a7c9c83dea10fdbef98d7e7f171e5754007dd1 /libraries
parent8a2b4cfc761466e51bd77e7f40d70df5c2747578 (diff)
downloadhaskell-95693ea90582d7d240ed5a3c0dee9b417eed33c1.tar.gz
fix warnings
Diffstat (limited to 'libraries')
-rw-r--r--libraries/bin-package-db/Distribution/InstalledPackageInfo/Binary.hs5
1 files changed, 3 insertions, 2 deletions
diff --git a/libraries/bin-package-db/Distribution/InstalledPackageInfo/Binary.hs b/libraries/bin-package-db/Distribution/InstalledPackageInfo/Binary.hs
index 212c8f91ce..6cc2b5ce18 100644
--- a/libraries/bin-package-db/Distribution/InstalledPackageInfo/Binary.hs
+++ b/libraries/bin-package-db/Distribution/InstalledPackageInfo/Binary.hs
@@ -1,4 +1,5 @@
{-# LANGUAGE RecordWildCards, TypeSynonymInstances, StandaloneDeriving, GeneralizedNewtypeDeriving #-}
+{-# OPTIONS_GHC -fno-warn-orphans #-}
-----------------------------------------------------------------------------
-- |
-- Module : Distribution.InstalledPackageInfo.Binary
@@ -14,7 +15,7 @@ module Distribution.InstalledPackageInfo.Binary (
) where
import Distribution.Version
-import Distribution.Package
+import Distribution.Package hiding (depends)
import Distribution.License
import Distribution.InstalledPackageInfo as IPI
import Data.Binary as Bin
@@ -123,7 +124,7 @@ instance Binary License where
5 -> return PublicDomain
6 -> return AllRightsReserved
7 -> return OtherLicense
- 8 -> do str <- get; return (UnknownLicense str)
+ _ -> do str <- get; return (UnknownLicense str)
instance Binary Version where
put v = do put (versionBranch v); put (versionTags v)