mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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:
@@ -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
|
||||
|
||||
15
dev-lang/epic/files/epic-0.9.3.3-ghc84.patch
Normal file
15
dev-lang/epic/files/epic-0.9.3.3-ghc84.patch
Normal 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
|
||||
Reference in New Issue
Block a user