commit:     4aec7d041a326a2fc95f0293149ba949b96f9df8
Author:     Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Fri Sep  4 18:20:29 2020 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Fri Sep  4 19:42:25 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4aec7d04

dev-haskell/mysql: remove unused patch(es)

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com>
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 .../mysql/files/mysql-0.1.1.8-Cabal-1.24.patch     | 29 ----------------------
 1 file changed, 29 deletions(-)

diff --git a/dev-haskell/mysql/files/mysql-0.1.1.8-Cabal-1.24.patch 
b/dev-haskell/mysql/files/mysql-0.1.1.8-Cabal-1.24.patch
deleted file mode 100644
index 475d3f79722..00000000000
--- a/dev-haskell/mysql/files/mysql-0.1.1.8-Cabal-1.24.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-diff --git a/Setup.lhs b/Setup.lhs
-index 2bf8d37..8fb2d3f 100644
---- a/Setup.lhs
-+++ b/Setup.lhs
-@@ -14,15 +14,2 @@ import Distribution.Verbosity
- 
---- A Cabal 1.16 vs 1.18 compatibility hack, as in 1.18
---- findProgramLocation has a new (unused in this case) parameter.
---- ConstOrId adds this parameter when types say it is mandatory.
--class ConstOrId a b where
--    constOrId :: a -> b
--
--instance ConstOrId a a where
--    constOrId = id
--
--instance ConstOrId a (b -> a) where
--    constOrId = const
--
--
- main = defaultMainWithHooks simpleUserHooks {
-@@ -39,5 +26,5 @@ main = defaultMainWithHooks simpleUserHooks {
- mysqlConfigProgram = (simpleProgram "mysql_config") {
--    programFindLocation = \verbosity -> constOrId $ liftM2 mplus
--      (findProgramLocation verbosity "mysql_config")
--      (findProgramLocation verbosity "mysql_config5")
-+    programFindLocation = \verbosity path -> liftM2 mplus
-+      (findProgramOnSearchPath verbosity path "mysql_config")
-+      (findProgramOnSearchPath verbosity path "mysql_config5")
-   }

Reply via email to