summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2017-02-15 08:48:03 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2017-02-15 08:48:03 +0000
commit5a6a19f6e0c1eaeeeccd0fd8a7b7e53fc9b96c31 (patch)
tree0323bd043d37347762f4ed082fc010f5566dc28e /dev-haskell/haddock-api/files/haddock-api-2.17.3-ghc-8.0.2_rc1.patch
parentdev-haskell/haddock-library: bump up to 1.4.2 (diff)
downloadgentoo-5a6a19f6e0c1eaeeeccd0fd8a7b7e53fc9b96c31.tar.gz
gentoo-5a6a19f6e0c1eaeeeccd0fd8a7b7e53fc9b96c31.tar.bz2
gentoo-5a6a19f6e0c1eaeeeccd0fd8a7b7e53fc9b96c31.zip
dev-haskell/haddock-api: bump up to 2.17.3
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'dev-haskell/haddock-api/files/haddock-api-2.17.3-ghc-8.0.2_rc1.patch')
-rw-r--r--dev-haskell/haddock-api/files/haddock-api-2.17.3-ghc-8.0.2_rc1.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/dev-haskell/haddock-api/files/haddock-api-2.17.3-ghc-8.0.2_rc1.patch b/dev-haskell/haddock-api/files/haddock-api-2.17.3-ghc-8.0.2_rc1.patch
new file mode 100644
index 000000000000..6aafc8f37522
--- /dev/null
+++ b/dev-haskell/haddock-api/files/haddock-api-2.17.3-ghc-8.0.2_rc1.patch
@@ -0,0 +1,16 @@
+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
+