commit: 9e36493bd35e1d5528c6da156b4fab8e90a99837 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> AuthorDate: Sun Apr 10 08:49:00 2016 +0000 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> CommitDate: Sun Apr 10 08:49:09 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e36493b
dev-haskell/drift: restored accidentally dropped patch, bug #579488 Reported-by: Toralf Förster Bug: https://bugs.gentoo.org/579488 Package-Manager: portage-2.2.28 dev-haskell/drift/files/drift-2.4.2-ghc-7.10.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/dev-haskell/drift/files/drift-2.4.2-ghc-7.10.patch b/dev-haskell/drift/files/drift-2.4.2-ghc-7.10.patch new file mode 100644 index 0000000..c45a294 --- /dev/null +++ b/dev-haskell/drift/files/drift-2.4.2-ghc-7.10.patch @@ -0,0 +1,22 @@ +diff --git a/src/ParseLib2.hs b/src/ParseLib2.hs +index 730e4be..a7406fa 100644 +--- a/src/ParseLib2.hs ++++ b/src/ParseLib2.hs +@@ -34,2 +34,3 @@ module ParseLib2 + import Data.Char ++import Control.Applicative hiding ( many ) + import Control.Monad +@@ -49,2 +50,6 @@ instance Functor Parser where + ++instance Applicative Parser where ++ pure = return ++ (<*>) = ap -- defined in Control.Monad ++ + instance Monad Parser where +@@ -58,2 +63,6 @@ instance Monad Parser where + ++instance Alternative Parser where ++ (<|>) = mplus ++ empty = mzero ++ + instance MonadPlus Parser where
