summaryrefslogtreecommitdiff
path: root/dev-haskell/hdbc-mysql/files/hdbc-mysql-0.7.1.0-cabal-3.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dev-haskell/hdbc-mysql/files/hdbc-mysql-0.7.1.0-cabal-3.patch')
-rw-r--r--dev-haskell/hdbc-mysql/files/hdbc-mysql-0.7.1.0-cabal-3.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/dev-haskell/hdbc-mysql/files/hdbc-mysql-0.7.1.0-cabal-3.patch b/dev-haskell/hdbc-mysql/files/hdbc-mysql-0.7.1.0-cabal-3.patch
new file mode 100644
index 000000000000..11fe2231d73e
--- /dev/null
+++ b/dev-haskell/hdbc-mysql/files/hdbc-mysql-0.7.1.0-cabal-3.patch
@@ -0,0 +1,11 @@
+--- a/Setup.lhs
++++ b/Setup.lhs
+@@ -35,7 +35,7 @@ mysqlConfigProgram = (simpleProgram "mysql_config") {
+
+ mysqlBuildInfo :: LocalBuildInfo -> IO BuildInfo
+ mysqlBuildInfo lbi = do
+- let mysqlConfig = rawSystemProgramStdoutConf verbosity mysqlConfigProgram (withPrograms lbi)
++ let mysqlConfig = getDbProgramOutput verbosity mysqlConfigProgram (withPrograms lbi)
+ ws = " \n\r\t"
+
+ includeDirs <- return . map (drop 2) . split ws =<< mysqlConfig ["--include"]