Unverified Commit 3b108f01 authored by Sergei Trofimovich's avatar Sergei Trofimovich
Browse files

dev-haskell/uhc-light: tweak for hashable-1.2.4.0

Package-Manager: portage-2.2.27
parent abc61f63
diff --git a/src/UHC/Light/Compiler/Base/Common.hs b/src/UHC/Light/Compiler/Base/Common.hs
index 210e634..6ac6f9a 100644
--- a/src/UHC/Light/Compiler/Base/Common.hs
+++ b/src/UHC/Light/Compiler/Base/Common.hs
@@ -126,3 +126,5 @@ deriving instance Generic Version
+#if ! MIN_VERSION_hashable(1,2,4)
instance Hashable Version
+#endif
...@@ -35,3 +35,7 @@ RDEPEND="dev-haskell/binary:=[profile?] ...@@ -35,3 +35,7 @@ RDEPEND="dev-haskell/binary:=[profile?]
DEPEND="${RDEPEND} DEPEND="${RDEPEND}
>=dev-haskell/cabal-1.18.1.3 >=dev-haskell/cabal-1.18.1.3
" "
src_prepare() {
epatch "${FILESDIR}"/${P}-hashable-1.2.4.patch
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment