--- /dev/null
+diff --git a/src/HaskellNames.hs b/src/HaskellNames.hs
+index 6e1910e..bd61137 100644
+--- a/src/HaskellNames.hs
++++ b/src/HaskellNames.hs
+@@ -147,6 +147,7 @@ isBuiltin name
+ {-----------------------------------------------------------------------------------------
+ Haddock prologue
+ -----------------------------------------------------------------------------------------}
++getPrologue :: [Char] -> [Char] -> [Char] -> [String] -> IO [String]
+ getPrologue moduleName content contains inputFiles
+ = do time <- getCurrentTime
+ return (prologue time)
+diff --git a/wxdirect.cabal b/wxdirect.cabal
+index 83be4af..02b56af 100644
+--- a/wxdirect.cabal
++++ b/wxdirect.cabal
+@@ -61,7 +61,7 @@ executable wxdirect-2.8
+
+ build-depends:
+ parsec >= 2.1.0 && < 4,
+- time >= 1.0 && < 1.5,
++ time >= 1.0,
+ strict >= 0.3 && < 1.0,
+ directory >= 1.0 && < 2.0
+
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
>=dev-haskell/cabal-1.8.0.2
"
-PATCHES=("${FILESDIR}/${PN}-0.13.1.3-ghc-7.6.patch")
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.13.1.3-ghc-7.6.patch
+ "${FILESDIR}"/${PN}-0.13.1.3-ghc-7.10.patch
+)
src_prepare() {
base_src_prepare
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
-i "${S}/${PN}.cabal" \
|| die "Could not change ${PN}.cabal for wxdirect slot ${WX_GTK_VER}"
cabal_chdeps \
- 'process >= 1.1 && < 1.2' 'process >= 1.1'
+ 'process >= 1.1 && < 1.2' 'process >= 1.1' \
+ 'time >= 1.0 && < 1.5' 'time >= 1.0' \
+ 'filepath < 1.4' 'filepath'
}