diff options
author | Michael Mair-Keimberger (asterix) <m.mairkeimberger@gmail.com> | 2016-07-27 18:57:25 +0200 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2016-08-03 09:21:54 +0200 |
commit | 7c713ca3da4e9d535c1106fdfe32cccc95bea68f (patch) | |
tree | be8ae35764c9aef1671bc6def906cdf6028b9901 /dev-haskell | |
parent | dev-haskell/hdbc: remove unused patches (diff) | |
download | gentoo-7c713ca3da4e9d535c1106fdfe32cccc95bea68f.tar.gz gentoo-7c713ca3da4e9d535c1106fdfe32cccc95bea68f.tar.bz2 gentoo-7c713ca3da4e9d535c1106fdfe32cccc95bea68f.zip |
dev-haskell/hdbc-odbc: remove unused patch
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'dev-haskell')
-rw-r--r-- | dev-haskell/hdbc-odbc/files/hdbc-odbc-2.3.1.0-ghc-6.12.patch | 37 |
1 files changed, 0 insertions, 37 deletions
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 index 791656b18613..000000000000 --- a/dev-haskell/hdbc-odbc/files/hdbc-odbc-2.3.1.0-ghc-6.12.patch +++ /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 = |