Dyne Gentoo overlay

remove-guards-ghc8.patch 6.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  1. diff --git a/src/Data/Semigroupoid.hs b/src/Data/Semigroupoid.hs
  2. index 17b2db1..4d2c336 100644
  3. --- a/src/Data/Semigroupoid.hs
  4. +++ b/src/Data/Semigroupoid.hs
  5. @@ -4,9 +4,9 @@
  6. {-# LANGUAGE PolyKinds #-}
  7. #endif
  8. -#if __GLASGOW_HASKELL__ >= 702 && __GLASGOW_HASKELL <= 706 && defined(MIN_VERSION_comonad) && !(MIN_VERSION_comonad(3,0,3))
  9. -{-# LANGUAGE Trustworthy #-}
  10. -#endif
  11. +-- #if __GLASGOW_HASKELL__ >= 702 && __GLASGOW_HASKELL <= 706 && defined(MIN_VERSION_comonad) && !(MIN_VERSION_comonad(3,0,3))
  12. +-- {-# LANGUAGE Trustworthy #-}
  13. +-- #endif
  14. -----------------------------------------------------------------------------
  15. -- |
  16. diff --git a/src/Data/Semigroupoid/Static.hs b/src/Data/Semigroupoid/Static.hs
  17. index b5123a4..9760d8b 100644
  18. --- a/src/Data/Semigroupoid/Static.hs
  19. +++ b/src/Data/Semigroupoid/Static.hs
  20. @@ -1,8 +1,8 @@
  21. {-# LANGUAGE CPP #-}
  22. -#if __GLASGOW_HASKELL__ >= 702 && __GLASGOW_HASKELL <= 706 && defined(MIN_VERSION_comonad) && !(MIN_VERSION_comonad(3,0,3))
  23. -{-# LANGUAGE Trustworthy #-}
  24. -#endif
  25. +-- #if __GLASGOW_HASKELL__ >= 702 && __GLASGOW_HASKELL <= 706 && defined(MIN_VERSION_comonad) && !(MIN_VERSION_comonad(3,0,3))
  26. +-- {-# LANGUAGE Trustworthy #-}
  27. +-- #endif
  28. -----------------------------------------------------------------------------
  29. -- |
  30. diff --git a/src/Data/Functor/Apply.hs b/src/Data/Functor/Apply.hs
  31. index 09e8aee..9c64cc2 100644
  32. --- a/src/Data/Functor/Apply.hs
  33. +++ b/src/Data/Functor/Apply.hs
  34. @@ -1,8 +1,8 @@
  35. {-# LANGUAGE CPP #-}
  36. -#if __GLASGOW_HASKELL__ >= 702 && __GLASGOW_HASKELL <= 706 && defined(MIN_VERSION_comonad) && !(MIN_VERSION_comonad(3,0,3))
  37. -{-# LANGUAGE Trustworthy #-}
  38. -#endif
  39. +-- #if __GLASGOW_HASKELL__ >= 702 && __GLASGOW_HASKELL <= 706 && defined(MIN_VERSION_comonad) && !(MIN_VERSION_comonad(3,0,3))
  40. +-- {-# LANGUAGE Trustworthy #-}
  41. +-- #endif
  42. -----------------------------------------------------------------------------
  43. -- |
  44. -- Copyright : (C) 2011-2015 Edward Kmett
  45. diff --git a/src/Data/Functor/Bind.hs b/src/Data/Functor/Bind.hs
  46. index 0db7c06..9b6b02a 100644
  47. --- a/src/Data/Functor/Bind.hs
  48. +++ b/src/Data/Functor/Bind.hs
  49. @@ -1,12 +1,12 @@
  50. {-# LANGUAGE CPP #-}
  51. -#if __GLASGOW_HASKELL__ >= 702 && __GLASGOW_HASKELL <= 706 && defined(MIN_VERSION_comonad) && !(MIN_VERSION_comonad(3,0,3))
  52. -{-# LANGUAGE Trustworthy #-}
  53. -#endif
  54. +-- #if __GLASGOW_HASKELL__ >= 702 && __GLASGOW_HASKELL <= 706 && defined(MIN_VERSION_comonad) && !(MIN_VERSION_comonad(3,0,3))
  55. +-- -- {-# LANGUAGE Trustworthy #-}
  56. +-- #endif
  57. -#if __GLASGOW_HASKELL__ >= 708 && __GLASGOW_HASKELL__ < 710
  58. -{-# OPTIONS_GHC -fno-warn-amp #-}
  59. -#endif
  60. +-- #if __GLASGOW_HASKELL__ >= 708 && __GLASGOW_HASKELL__ < 710
  61. +-- {-# OPTIONS_GHC -fno-warn-amp #-}
  62. +-- #endif
  63. -----------------------------------------------------------------------------
  64. -- |
  65. -- Copyright : (C) 2011-2015 Edward Kmett
  66. diff --git a/src/Data/Functor/Bind/Class.hs b/src/Data/Functor/Bind/Class.hs
  67. index cdffb4c..2e7f282 100644
  68. --- a/src/Data/Functor/Bind/Class.hs
  69. +++ b/src/Data/Functor/Bind/Class.hs
  70. @@ -4,15 +4,15 @@
  71. #define MIN_VERSION_semigroups(x,y,z) 1
  72. #endif
  73. -#if __GLASGOW_HASKELL__ >= 702 && __GLASGOW_HASKELL <= 706 && defined(MIN_VERSION_comonad) && !(MIN_VERSION_comonad(3,0,3))
  74. -{-# LANGUAGE Trustworthy #-}
  75. -#endif
  76. +-- #if __GLASGOW_HASKELL__ >= 702 && __GLASGOW_HASKELL <= 706 && defined(MIN_VERSION_comonad) && !(MIN_VERSION_comonad(3,0,3))
  77. +-- {-# LANGUAGE Trustworthy #-}
  78. +-- #endif
  79. {-# OPTIONS_HADDOCK not-home #-}
  80. -#if __GLASGOW_HASKELL__ >= 708 && __GLASGOW_HASKELL__ < 710
  81. -{-# OPTIONS_GHC -fno-warn-amp #-}
  82. -#endif
  83. +-- #if __GLASGOW_HASKELL__ >= 708 && __GLASGOW_HASKELL__ < 710
  84. +-- {-# OPTIONS_GHC -fno-warn-amp #-}
  85. +-- #endif
  86. {-# OPTIONS_GHC -fno-warn-deprecations #-}
  87. diff --git a/src/Data/Functor/Bind/Trans.hs b/src/Data/Functor/Bind/Trans.hs
  88. index a7455fb..a6520f6 100644
  89. --- a/src/Data/Functor/Bind/Trans.hs
  90. +++ b/src/Data/Functor/Bind/Trans.hs
  91. @@ -16,9 +16,9 @@ module Data.Functor.Bind.Trans (
  92. -- import _everything_
  93. import Control.Category
  94. -#if __GLASGOW_HASKELL__ < 707
  95. -import Control.Monad.Instances ()
  96. -#endif
  97. +-- #if __GLASGOW_HASKELL__ < 707
  98. +-- import Control.Monad.Instances ()
  99. +-- #endif
  100. import Control.Monad.Trans.Class
  101. import Control.Monad.Trans.Cont
  102. -- import Control.Monad.Trans.Error
  103. diff --git a/src/Data/Functor/Extend.hs b/src/Data/Functor/Extend.hs
  104. index 4598cc4..b2db3ce 100644
  105. --- a/src/Data/Functor/Extend.hs
  106. +++ b/src/Data/Functor/Extend.hs
  107. @@ -1,8 +1,8 @@
  108. {-# LANGUAGE CPP #-}
  109. -#if __GLASGOW_HASKELL__ >= 702 && __GLASGOW_HASKELL <= 706 && defined(MIN_VERSION_comonad) && !(MIN_VERSION_comonad(3,0,3))
  110. -{-# LANGUAGE Trustworthy #-}
  111. -#endif
  112. +-- #if __GLASGOW_HASKELL__ >= 702 && __GLASGOW_HASKELL <= 706 && defined(MIN_VERSION_comonad) && !(MIN_VERSION_comonad(3,0,3))
  113. +-- {-# LANGUAGE Trustworthy #-}
  114. +-- #endif
  115. -----------------------------------------------------------------------------
  116. -- |
  117. -- Module : Data.Functor.Extend
  118. diff --git a/src/Data/Functor/Plus.hs b/src/Data/Functor/Plus.hs
  119. index 3e3c9fc..9d495d4 100644
  120. --- a/src/Data/Functor/Plus.hs
  121. +++ b/src/Data/Functor/Plus.hs
  122. @@ -1,8 +1,8 @@
  123. {-# LANGUAGE CPP #-}
  124. -#if __GLASGOW_HASKELL__ >= 702 && __GLASGOW_HASKELL <= 706 && defined(MIN_VERSION_comonad) && !(MIN_VERSION_comonad(3,0,3))
  125. -{-# LANGUAGE Trustworthy #-}
  126. -#endif
  127. +-- #if __GLASGOW_HASKELL__ >= 702 && __GLASGOW_HASKELL <= 706 && defined(MIN_VERSION_comonad) && !(MIN_VERSION_comonad(3,0,3))
  128. +-- {-# LANGUAGE Trustworthy #-}
  129. +-- #endif
  130. -----------------------------------------------------------------------------
  131. -- |
  132. -- Copyright : (C) 2011-2015 Edward Kmett
  133. diff --git a/src/Data/Functor/Alt.hs b/src/Data/Functor/Alt.hs
  134. index 7c326df..159e358 100644
  135. --- a/src/Data/Functor/Alt.hs
  136. +++ b/src/Data/Functor/Alt.hs
  137. @@ -1,12 +1,12 @@
  138. {-# LANGUAGE CPP #-}
  139. -#if __GLASGOW_HASKELL__ >= 702 && __GLASGOW_HASKELL <= 706 && defined(MIN_VERSION_comonad) && !(MIN_VERSION_comonad(3,0,3))
  140. -{-# LANGUAGE Trustworthy #-}
  141. -#endif
  142. +-- #if __GLASGOW_HASKELL__ >= 702 && __GLASGOW_HASKELL <= 706 && defined(MIN_VERSION_comonad) && !(MIN_VERSION_comonad(3,0,3))
  143. +-- {-# LANGUAGE Trustworthy #-}
  144. +-- #endif
  145. -#if __GLASGOW_HASKELL__ >= 711
  146. +-- #if __GLASGOW_HASKELL__ >= 711
  147. {-# LANGUAGE ConstrainedClassMethods #-}
  148. -#endif
  149. +-- #endif
  150. -----------------------------------------------------------------------------
  151. -- |
  152. -- Module : Data.Functor.Alt