Package-Manager: Portage-2.3.81, Repoman-2.3.20
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
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
--- /dev/null
+--- 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