summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2020-08-07 22:17:20 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2020-08-07 22:17:32 +0100
commita61cae65f4cf0813e3efa7eb9ac53b054856e100 (patch)
tree214d569e8fd833f2f922240e118e06aa6d2f1b91 /dev-haskell/idiii/files
parentdev-lang/perl: 5.30.3-r2 rework patching bundle logic (diff)
downloadgentoo-a61cae65f4cf0813e3efa7eb9ac53b054856e100.tar.gz
gentoo-a61cae65f4cf0813e3efa7eb9ac53b054856e100.tar.bz2
gentoo-a61cae65f4cf0813e3efa7eb9ac53b054856e100.zip
dev-haskell/idiii: tweak for ghc-8.8
Reported-by: Toralf Förster Closes: https://bugs.gentoo.org/736280 Package-Manager: Portage-3.0.1, Repoman-2.3.23 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'dev-haskell/idiii/files')
-rw-r--r--dev-haskell/idiii/files/idiii-0.1.3.3-fold.patch7
1 files changed, 7 insertions, 0 deletions
diff --git a/dev-haskell/idiii/files/idiii-0.1.3.3-fold.patch b/dev-haskell/idiii/files/idiii-0.1.3.3-fold.patch
new file mode 100644
index 000000000000..0bd0469e53af
--- /dev/null
+++ b/dev-haskell/idiii/files/idiii-0.1.3.3-fold.patch
@@ -0,0 +1,7 @@
+--- a/src/ID3/Type/Tag.hs
++++ b/src/ID3/Type/Tag.hs
+@@ -89,3 +89,3 @@ getActualSize t = (footerSize t) + (framesSize (t^.frames)) + (extHSize t)
+ framesSize :: Map FrameID ID3Frame -> FrameSize
+-framesSize fs = Map.fold (\fr x -> fr^.frHeader^.frSize + 10 + x) 0 fs
++framesSize fs = Map.foldr (\fr x -> fr^.frHeader^.frSize + 10 + x) 0 fs
+ footerSize :: ID3Tag -> Integer