summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2016-01-16 22:27:30 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2016-01-16 22:27:30 +0000
commit867fdf18ccb78321cdd3eabc0d4ef6e0dd14ff28 (patch)
tree00e46100fb9d73dc12b5968529a2c8489ebe0e89 /dev-haskell/wxhaskell/wxhaskell-0.90.1.0.ebuild
parentdev-haskell/wxdirect: tweak for ghc-7.10, bug #561254 (diff)
downloadgentoo-867fdf18ccb78321cdd3eabc0d4ef6e0dd14ff28.tar.gz
gentoo-867fdf18ccb78321cdd3eabc0d4ef6e0dd14ff28.tar.bz2
gentoo-867fdf18ccb78321cdd3eabc0d4ef6e0dd14ff28.zip
dev-haskell/wxhaskell: tweak for ghc-7.10, bug #561254
Package-Manager: portage-2.2.26
Diffstat (limited to 'dev-haskell/wxhaskell/wxhaskell-0.90.1.0.ebuild')
-rw-r--r--dev-haskell/wxhaskell/wxhaskell-0.90.1.0.ebuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/dev-haskell/wxhaskell/wxhaskell-0.90.1.0.ebuild b/dev-haskell/wxhaskell/wxhaskell-0.90.1.0.ebuild
index 0ce4f06b3445..0b28b638bbdb 100644
--- a/dev-haskell/wxhaskell/wxhaskell-0.90.1.0.ebuild
+++ b/dev-haskell/wxhaskell/wxhaskell-0.90.1.0.ebuild
@@ -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