summaryrefslogtreecommitdiff
path: root/dev-haskell/cmdlib/files
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2020-09-12 10:24:26 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2020-09-12 10:30:12 +0100
commit3138d0cbb627a7d52eceb27152c50b596c0be768 (patch)
tree1a1b036e49da307581371905e1868133fc6300ef /dev-haskell/cmdlib/files
parentb3ed0a357a39da350c1d638c67849b00f6d0d5f9 (diff)
downloadgentoo-3138d0cbb627a7d52eceb27152c50b596c0be768.tar.gz
gentoo-3138d0cbb627a7d52eceb27152c50b596c0be768.tar.bz2
gentoo-3138d0cbb627a7d52eceb27152c50b596c0be768.zip
dev-haskell/cmdlib: drop masked package
Closes: https://bugs.gentoo.org/735868 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'dev-haskell/cmdlib/files')
-rw-r--r--dev-haskell/cmdlib/files/cmdlib-0.3.4-ghc-6.12.patch16
1 files changed, 0 insertions, 16 deletions
diff --git a/dev-haskell/cmdlib/files/cmdlib-0.3.4-ghc-6.12.patch b/dev-haskell/cmdlib/files/cmdlib-0.3.4-ghc-6.12.patch
deleted file mode 100644
index 85a19d9aff02..000000000000
--- a/dev-haskell/cmdlib/files/cmdlib-0.3.4-ghc-6.12.patch
+++ /dev/null
@@ -1,16 +0,0 @@
---- cmdlib-0.3.4-orig/System/Console/CmdLib/Command.hs 2011-10-07 07:19:48.000000000 +1100
-+++ cmdlib-0.3.4/System/Console/CmdLib/Command.hs 2012-01-06 20:49:59.668959773 +1100
-@@ -225,6 +225,13 @@
- commandGroup :: (Commands a) => String -> a -> [CommandWrap]
- commandGroup s l = [CommandGroup s (toCommands l)]
-
-+#if !MIN_VERSION_mtl(2,0,0)
-+instance Monad (Either e) where
-+ return = Right
-+ Left l >>= _ = Left l
-+ Right r >>= k = k r
-+#endif
-+
- -- TODO: disambiguation, hidden commands (aliases)
- findCommand :: String -> [CommandWrap] -> [CommandWrap]
- findCommand key list = case accum list of Left x -> [x]