public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-haskell/idiii/, dev-haskell/idiii/files/
@ 2020-08-07 21:17 Sergei Trofimovich
  0 siblings, 0 replies; only message in thread
From: Sergei Trofimovich @ 2020-08-07 21:17 UTC (permalink / raw
  To: gentoo-commits

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)


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2020-08-07 21:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-08-07 21:17 [gentoo-commits] repo/gentoo:master commit in: dev-haskell/idiii/, dev-haskell/idiii/files/ Sergei Trofimovich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox