Files
gentoo/dev-haskell/haddock-api/files/haddock-api-2.17.3-ghc-8.0.2_rc1.patch
Sergei Trofimovich 5a6a19f6e0 dev-haskell/haddock-api: bump up to 2.17.3
Package-Manager: Portage-2.3.3, Repoman-2.3.1
2017-02-15 08:48:03 +00:00

17 lines
747 B
Diff

diff --git a/src/Haddock/Types.hs b/src/Haddock/Types.hs
index eacf447..458d15f 100644
--- a/src/Haddock/Types.hs
+++ b/src/Haddock/Types.hs
@@ -1,2 +1,2 @@
-{-# LANGUAGE DeriveDataTypeable, DeriveFunctor, DeriveFoldable, DeriveTraversable, StandaloneDeriving, TypeFamilies, RecordWildCards #-}
+{-# LANGUAGE DeriveDataTypeable, DeriveFunctor, DeriveFoldable, DeriveTraversable, StandaloneDeriving, TypeFamilies, RecordWildCards, CPP #-}
{-# OPTIONS_GHC -fno-warn-orphans #-}
@@ -450,2 +450,3 @@ instance (NFData a, NFData mod)
+#if !MIN_VERSION_GLASGOW_HASKELL(8,0,1,1)
instance NFData Name where rnf x = seq x ()
@@ -453,2 +454,3 @@ instance NFData OccName where rnf x = seq x ()
instance NFData ModuleName where rnf x = seq x ()
+#endif