summaryrefslogtreecommitdiff
path: root/dev-haskell/hackage-security/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-08-25 10:45:55 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-08-25 10:45:55 +0100
commit3cf7c3ef441822c889356fd1812ebf2944a59851 (patch)
treec513fe68548b40365c1c2ebfe35c58ad431cdd77 /dev-haskell/hackage-security/files
parent05b8b0e0af1d72e51a3ee61522941bf7605cd01c (diff)
gentoo resync : 25.08.2020
Diffstat (limited to 'dev-haskell/hackage-security/files')
-rw-r--r--dev-haskell/hackage-security/files/hackage-security-0.5.3.0-ghc-8.8.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/dev-haskell/hackage-security/files/hackage-security-0.5.3.0-ghc-8.8.patch b/dev-haskell/hackage-security/files/hackage-security-0.5.3.0-ghc-8.8.patch
new file mode 100644
index 000000000000..7c30961a4b4d
--- /dev/null
+++ b/dev-haskell/hackage-security/files/hackage-security-0.5.3.0-ghc-8.8.patch
@@ -0,0 +1,12 @@
+diff -ru hackage-security-0.5.3.0.orig/src/Hackage/Security/TUF/FileMap.hs hackage-security-0.5.3.0/src/Hackage/Security/TUF/FileMap.hs
+--- hackage-security-0.5.3.0.orig/src/Hackage/Security/TUF/FileMap.hs 2018-03-25 19:39:07.000000000 -0400
++++ hackage-security-0.5.3.0/src/Hackage/Security/TUF/FileMap.hs 2019-03-16 08:29:08.347456951 -0400
+@@ -78,7 +78,7 @@
+ lookupM :: Monad m => FileMap -> TargetPath -> m FileInfo
+ lookupM m fp =
+ case lookup fp m of
+- Nothing -> fail $ "No entry for " ++ pretty fp ++ " in filemap"
++ Nothing -> error $ "No entry for " ++ pretty fp ++ " in filemap"
+ Just nfo -> return nfo
+
+ {-------------------------------------------------------------------------------