mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-05 12:38:09 -07:00
dev-haskell/wxhaskell: tweak for ghc-7.10, bug #561254
Package-Manager: portage-2.2.26
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
diff --git a/src/Graphics/UI/WX/Window.hs b/src/Graphics/UI/WX/Window.hs
|
||||
index 0b04fa9..39c0505 100644
|
||||
--- a/src/Graphics/UI/WX/Window.hs
|
||||
+++ b/src/Graphics/UI/WX/Window.hs
|
||||
@@ -1,2 +1,2 @@
|
||||
-{-# LANGUAGE TypeSynonymInstances, FlexibleInstances #-}
|
||||
+{-# LANGUAGE TypeSynonymInstances, FlexibleInstances, FlexibleContexts #-}
|
||||
--------------------------------------------------------------------------------
|
||||
@@ -31,6 +31,10 @@ DEPEND="${RDEPEND}
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-0.13.2.3-ghc-7.10.patch
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# ghc DCE bug: https://ghc.haskell.org/trac/ghc/ticket/9155
|
||||
[[ $(ghc-version) == 7.8.2 ]] && replace-hcflags -O[2-9] -O1
|
||||
|
||||
@@ -31,6 +31,10 @@ DEPEND="${RDEPEND}
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-0.13.2.3-ghc-7.10.patch
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# ghc DCE bug: https://ghc.haskell.org/trac/ghc/ticket/9155
|
||||
[[ $(ghc-version) == 7.8.2 ]] && replace-hcflags -O[2-9] -O1
|
||||
|
||||
Reference in New Issue
Block a user