aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/hs-wxcore/files/patch-Setup.hs
diff options
context:
space:
mode:
Diffstat (limited to 'x11-toolkits/hs-wxcore/files/patch-Setup.hs')
-rw-r--r--x11-toolkits/hs-wxcore/files/patch-Setup.hs14
1 files changed, 7 insertions, 7 deletions
diff --git a/x11-toolkits/hs-wxcore/files/patch-Setup.hs b/x11-toolkits/hs-wxcore/files/patch-Setup.hs
index 612c88193677..fa0a2f170de6 100644
--- a/x11-toolkits/hs-wxcore/files/patch-Setup.hs
+++ b/x11-toolkits/hs-wxcore/files/patch-Setup.hs
@@ -1,10 +1,10 @@
---- Setup.hs.orig 2016-06-20 16:11:53 UTC
+--- Setup.hs.orig 2017-04-28 17:39:58 UTC
+++ Setup.hs
-@@ -78,7 +78,6 @@ myConfHook (pkg0, pbi) flags = do
+@@ -90,7 +90,6 @@ myConfHook (pkg0, pbi) flags = do
let libbi' = libbi
- { extraLibDirs = extraLibDirs libbi ++ [wxcDirectory]
-- , extraLibs = extraLibs libbi ++ ["wxc"]
- , ldOptions = ldOptions libbi ++ ["-Wl,-rpath," ++ wxcDirectory] }
-
- let lib' = lib { libBuildInfo = libbi' }
+ { extraLibDirs = extraLibDirs libbi ++ [wxcDirectory]
+- , extraLibs = extraLibs libbi ++ ["wxc"]
+ , PD.includeDirs = PD.includeDirs libbi ++ case glIncludeDirs of
+ ('-':'I':v) -> [v];
+ _ -> []