From: "Sergei Trofimovich" <slyfox@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-haskell/idiii/, dev-haskell/idiii/files/
Date: Fri, 7 Aug 2020 21:17:38 +0000 (UTC) [thread overview]
Message-ID: <1596835052.a61cae65f4cf0813e3efa7eb9ac53b054856e100.slyfox@gentoo> (raw)
commit: a61cae65f4cf0813e3efa7eb9ac53b054856e100
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 7 21:17:20 2020 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Fri Aug 7 21:17:32 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a61cae65
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 <AT> gentoo.org>
dev-haskell/idiii/files/idiii-0.1.3.3-fold.patch | 7 +++++++
dev-haskell/idiii/idiii-0.1.3.3.ebuild | 7 ++++---
2 files changed, 11 insertions(+), 3 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 00000000000..0bd0469e53a
--- /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
diff --git a/dev-haskell/idiii/idiii-0.1.3.3.ebuild b/dev-haskell/idiii/idiii-0.1.3.3.ebuild
index 92147c2965b..874e97f4250 100644
--- a/dev-haskell/idiii/idiii-0.1.3.3.ebuild
+++ b/dev-haskell/idiii/idiii-0.1.3.3.ebuild
@@ -5,11 +5,11 @@ EAPI=6
# ebuild generated by hackport 0.5.9999
-CABAL_FEATURES="bin lib profile haddock hoogle hscolour test-suite"
+CABAL_FEATURES="bin lib profile haddock hoogle hscolour" # Broken test-suite: missing files
inherit haskell-cabal
DESCRIPTION="ID3v2 (tagging standard for MP3 files) library"
-HOMEPAGE="https://hackage.haskell.org/package/idiii"
+HOMEPAGE="http://hackage.haskell.org/package/idiii"
SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
LICENSE="BSD"
@@ -28,5 +28,6 @@ RDEPEND="dev-haskell/data-accessor:=[profile?]
"
DEPEND="${RDEPEND}
>=dev-haskell/cabal-1.8
- test? ( dev-haskell/hunit )
"
+
+PATCHES=("${FILESDIR}"/${P}-fold.patch)
reply other threads:[~2020-08-07 21:17 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1596835052.a61cae65f4cf0813e3efa7eb9ac53b054856e100.slyfox@gentoo \
--to=slyfox@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox