dev-haskell/hdbc-odbc: remove unused patch
authorMichael Mair-Keimberger (asterix) <m.mairkeimberger@gmail.com>
Wed, 27 Jul 2016 16:57:25 +0000 (18:57 +0200)
committerPatrice Clement <monsieurp@gentoo.org>
Wed, 3 Aug 2016 07:21:54 +0000 (09:21 +0200)
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
dev-haskell/hdbc-odbc/files/hdbc-odbc-2.3.1.0-ghc-6.12.patch [deleted file]

diff --git a/dev-haskell/hdbc-odbc/files/hdbc-odbc-2.3.1.0-ghc-6.12.patch b/dev-haskell/hdbc-odbc/files/hdbc-odbc-2.3.1.0-ghc-6.12.patch
deleted file mode 100644 (file)
index 791656b..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
---- HDBC-odbc-2.3.1.0-orig/HDBC-odbc.cabal     2011-08-10 07:16:38.000000000 +1000
-+++ HDBC-odbc-2.3.1.0/HDBC-odbc.cabal  2011-08-12 14:51:43.510895477 +1000
-@@ -37,10 +37,10 @@
-     ExistentialQuantification,
-     ForeignFunctionInterface,
-     ScopedTypeVariables
--  Build-Depends: base >= 4.3.1.0 && < 5
-+  Build-Depends: base >= 4.2.0.2 && < 5
-                , mtl
-                , HDBC>=2.1.0
--               , time>=1.2.0.3
-+               , time>=1.1.4
-                , utf8-string
-                , bytestring
-   GHC-Options: -O2
---- HDBC-odbc-2.3.1.0-orig/Database/HDBC/ODBC/Statement.hsc    2011-08-10 07:16:38.000000000 +1000
-+++ HDBC-odbc-2.3.1.0/Database/HDBC/ODBC/Statement.hsc 2011-08-12 15:16:11.585672600 +1000
-@@ -17,7 +17,7 @@
- import Database.HDBC.ODBC.Utils
- import Database.HDBC.ODBC.TypeConv
- 
--import Foreign.C.String (castCUCharToChar)
-+import GHC.Base (unsafeChr)
- import Foreign.C.Types
- import Foreign.ForeignPtr
- import Foreign.Ptr
-@@ -55,6 +55,10 @@
- #let CALLCONV = "ccall"
- #endif
- 
-+-- | Convert a C @unsigned char@, representing a Latin-1 character, to
-+-- the corresponding Haskell character.
-+castCUCharToChar :: CUChar -> Char
-+castCUCharToChar ch = unsafeChr (fromIntegral (fromIntegral ch :: Word8))
- fGetQueryInfo :: Conn -> ChildList -> String
-               -> IO ([SqlColDesc], [(String, SqlColDesc)])
- fGetQueryInfo iconn children query =