dev-lang/epic: tweak for ghc-8.4

Package-Manager: Portage-2.3.81, Repoman-2.3.20
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
This commit is contained in:
Sergei Trofimovich
2019-12-14 11:16:50 +00:00
parent 1faf6a0705
commit 1e32346b56
2 changed files with 19 additions and 1 deletions

View File

@@ -28,7 +28,10 @@ DEPEND="${RDEPEND}
dev-haskell/happy
"
# Bug #438422, upstream at https://github.com/edwinb/EpiVM/issues/5.
PATCHES=("${FILESDIR}"/${PN}-0.9.3.3-respect-user-cflags.patch)
PATCHES=(
"${FILESDIR}"/${PN}-0.9.3.3-respect-user-cflags.patch
"${FILESDIR}"/${PN}-0.9.3.3-ghc84.patch
)
src_prepare() {
default

View File

@@ -0,0 +1,15 @@
--- a/Main.lhs
+++ b/Main.lhs
@@ -10,11 +10,7 @@
> import Epic.Compiler
> import Paths_epic
-> versionString = showV (versionBranch version)
-> where
-> showV [] = ""
-> showV [a] = show a
-> showV (x:xs) = show x ++ "." ++ showV xs
+> versionString = show version
> main = do args <- getArgs
> (fns, opts) <- getInput args