commit:     81f2bb597cc1bf955d5b6ddd29a017e72174201a
Author:     Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Mon Apr 19 17:22:01 2021 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Thu Apr 22 06:44:52 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81f2bb59

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

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/20460
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 .../wxdirect/files/wxdirect-0.90.0.1-ghc-7.5.patch | 49 ----------------------
 .../wxdirect/files/wxdirect-0.90.1.1-ghc-7.5.patch | 38 -----------------
 2 files changed, 87 deletions(-)

diff --git a/dev-haskell/wxdirect/files/wxdirect-0.90.0.1-ghc-7.5.patch 
b/dev-haskell/wxdirect/files/wxdirect-0.90.0.1-ghc-7.5.patch
deleted file mode 100644
index 75d9bf21c72..00000000000
--- a/dev-haskell/wxdirect/files/wxdirect-0.90.0.1-ghc-7.5.patch
+++ /dev/null
@@ -1,49 +0,0 @@
---- wxdirect-0.90.0.1-orig/wxdirect.cabal      2012-04-19 01:05:11.000000000 
+1000
-+++ wxdirect-0.90.0.1/wxdirect.cabal   2012-05-19 21:12:02.612085338 +1000
-@@ -66,7 +66,7 @@
-   if flag(splitBase)
-     build-depends:
-         base       >= 4     && < 5,
--        containers >= 0.2   && < 0.5
-+        containers >= 0.2   && < 0.6
-   else
-     build-depends:
-         base       >= 3     && < 4,
---- wxdirect-0.90.0.1-orig/src/Classes.hs      2012-04-19 01:05:10.000000000 
+1000
-+++ wxdirect-0.90.0.1/src/Classes.hs   2012-07-14 13:58:48.072492467 +1000
-@@ -1,3 +1,4 @@
-+{-# LANGUAGE CPP #-}
- 
-----------------------------------------------------------------------------------------
- {-| Module      :  Classes
-     Copyright   :  (c) Daan Leijen 2003
-@@ -28,7 +29,9 @@
- import Data.List( sort, sortBy )
- import qualified Data.Set as Set
- import qualified Data.Map as Map
-+#if !MIN_VERSION_base(4,6,0)
- import Prelude hiding ( catch )
-+#endif
- import HaskellNames( haskellTypeName, isBuiltin )
- import Types
- 
---- wxdirect-0.90.0.1-orig/src/CompileClasses.hs       2012-04-19 
01:05:10.000000000 +1000
-+++ wxdirect-0.90.0.1/src/CompileClasses.hs    2012-05-19 21:28:27.358052781 
+1000
-@@ -89,7 +89,7 @@
-            (exportsStatic,exportsClassClasses,classCount) = exportDefs decls 
exportsClass []
- 
-            methodCount  = length decls
--           ghcoptions   = [ "{-# LANGUAGE ForeignFunctionInterface #-}"]
-+           ghcoptions   = [ "{-# LANGUAGE CPP, ForeignFunctionInterface #-}"]
- 
-            export   = concat  [ ["module " ++ moduleRoot ++ moduleName
-                                 , "    ( -- * Global" ]
-@@ -103,6 +103,9 @@
-                                 , "import System.IO.Unsafe( unsafePerformIO )"
-                                 , "import " ++ moduleRoot ++ "WxcTypes"
-                                 , "import " ++ moduleRoot ++ 
moduleClassTypesName
-+                                , "#if (__GLASGOW_HASKELL__>=705)"
-+                                , "import Foreign.C.Types(CDouble(..), 
CInt(..), CWchar(..))"
-+                                , "#endif"
-                                 , ""
-                                 ]
-                               ]

diff --git a/dev-haskell/wxdirect/files/wxdirect-0.90.1.1-ghc-7.5.patch 
b/dev-haskell/wxdirect/files/wxdirect-0.90.1.1-ghc-7.5.patch
deleted file mode 100644
index df29d1ba08b..00000000000
--- a/dev-haskell/wxdirect/files/wxdirect-0.90.1.1-ghc-7.5.patch
+++ /dev/null
@@ -1,38 +0,0 @@
---- wxdirect-0.90.1.1-orig/src/Classes.hs      2014-03-23 01:08:59.000000000 
+1100
-+++ wxdirect-0.90.1.1/src/Classes.hs   2014-03-23 15:43:57.402011540 +1100
-@@ -1,3 +1,4 @@
-+{-# LANGUAGE CPP #-}
- 
-----------------------------------------------------------------------------------------
- {-| Module      :  Classes
-     Copyright   :  (c) Daan Leijen 2003
-@@ -24,6 +25,9 @@
- 
- import qualified Data.Set as Set
- import qualified Data.Map as Map
-+#if !MIN_VERSION_base(4,6,0)
-+import Prelude hiding ( catch )
-+#endif
- import Text.Parsec.Prim hiding ( try )
- import HaskellNames( haskellTypeName, isBuiltin )
- import Types
---- wxdirect-0.90.1.1-orig/src/CompileClasses.hs       2014-03-23 
01:08:59.000000000 +1100
-+++ wxdirect-0.90.1.1/src/CompileClasses.hs    2014-03-23 15:42:14.123894206 
+1100
-@@ -96,7 +96,7 @@
-            (exportsStatic,exportsClassClasses,classCount) = exportDefs decls 
exportsClass []
- 
-            methodCount  = length decls
--           ghcoptions   = [ "{-# LANGUAGE ForeignFunctionInterface #-}"]
-+           ghcoptions   = [ "{-# LANGUAGE CPP, ForeignFunctionInterface #-}"]
- 
-            export   = concat  [ ["module " ++ moduleRoot ++ moduleName
-                                 , "    ( -- * Global" ]
-@@ -111,6 +111,9 @@
-                                 , "import Foreign.C.Types(CInt(..), 
CWchar(..), CChar(..), CDouble(..))"
-                                 , "import " ++ moduleRoot ++ "WxcTypes"
-                                 , "import " ++ moduleRoot ++ 
moduleClassTypesName
-+                                , "#if (__GLASGOW_HASKELL__>=705)"
-+                                , "import Foreign.C.Types(CDouble(..), 
CInt(..), CWchar(..))"
-+                                , "#endif"
-                                 , ""
-                                 ]
-                               ]

Reply via email to