summaryrefslogtreecommitdiff
path: root/dev-haskell/wavy
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/wavy
parent05b8b0e0af1d72e51a3ee61522941bf7605cd01c (diff)
gentoo resync : 25.08.2020
Diffstat (limited to 'dev-haskell/wavy')
-rw-r--r--dev-haskell/wavy/Manifest3
-rw-r--r--dev-haskell/wavy/files/wavy-0.1.0.0-ghc-8.8.patch11
-rw-r--r--dev-haskell/wavy/wavy-0.1.0.0.ebuild9
3 files changed, 19 insertions, 4 deletions
diff --git a/dev-haskell/wavy/Manifest b/dev-haskell/wavy/Manifest
index 7135712b05b5..54404554b7fc 100644
--- a/dev-haskell/wavy/Manifest
+++ b/dev-haskell/wavy/Manifest
@@ -1,4 +1,5 @@
AUX wavy-0.1.0.0-binary-0.8.patch 454 BLAKE2B 8865e15588ef0a9fa603da3aefa793ad7b26c0f39aa93ca3fe3ffdd04a6d3e64fea28c647acd775df0a1a6c88042496cc92387f9f5de0250a885a61cc5ce7914 SHA512 01e86475fcb6b022bf5560b4338e2d7a574bbafbcaf8b71be32d54809ebffc76dd2a88a101f5fcc8333bd494fe02dc953895cec2b071668fe42f557918b3be79
+AUX wavy-0.1.0.0-ghc-8.8.patch 519 BLAKE2B 35d8b175c3fc6b63e2fa58b8113799479fdfadcbab492df69a83bc4c7d2f810cdba672851ed919e5b3926f3f10caa6429f1b1f362178e69d6445489cb70d6e35 SHA512 059b239ecd843a90f08eed43347d623d2303fe83eadcdad4e5667fc3c0051cd60459850ca94f3a82f2cd9358af8c344268491f6d407d4c87613aaf06205e23e0
DIST wavy-0.1.0.0.tar.gz 25100 BLAKE2B 5c4926c22b0a874b84a02fdff9218aa78f78a97dd736ae1243e99bfe368c8d136dc463346c3905e794b70deaeba5dab7223a54fa43304d67234cb16f0bd489e2 SHA512 25103aeae5104f6525b75cae4aea1b70e3998a56e4c262462a8dd7b8edfee2749fbd099e81a2c2bde0bfb0211e2194d0e4df705bd8882e526516c85be0fdd94d
-EBUILD wavy-0.1.0.0.ebuild 1012 BLAKE2B a1530b10c898537302638049c8c131ce33eb3e4e2aa9c314270209682b3c3c90713cdc38b065a4f8ec8eca3b01980b0f3f8f282a2bc70f44c87f31a8fb013e9a SHA512 d243b2ce4f5d0d2c0b35d2f9c5dec8912a072966daf4d6da877118294977ea0c60c15a85a6f5752c7a367cb3d5793a93befd769a70910638f8ca860afe9f98fc
+EBUILD wavy-0.1.0.0.ebuild 1048 BLAKE2B a7954a781900c426d32b3c6ad22bce9c3b698a14bdd8d3cbf0062bcfbad21c3fb98918c1664c2507770c4f3a362e217964aa0b897588a274a0a0bed4092ea02b SHA512 0f93b4fecc1d154c6e48bd4c35468c8d0a05d1e53cb13678d8ad76c0cf1ec41d755cf8fbd54ba0573c2ffb11d61294daca07cc4391e43c64e2a3f002e259959b
MISC metadata.xml 624 BLAKE2B c3a9f576830d189dc88e76910ea9857b6d77fb9bfb12ee8187512b81c41a4a42097efd24daf05b63da4c91029eb7044a4013772b6b5045c3638fa1852d9ababd SHA512 8442163e564335e43e3010df0183a5b6e15fcda2650ce97cc59c410bc978171b49a65b926229c7d02c8f7ffad4232b160a326fddca89e20822d4930e84c6ff8b
diff --git a/dev-haskell/wavy/files/wavy-0.1.0.0-ghc-8.8.patch b/dev-haskell/wavy/files/wavy-0.1.0.0-ghc-8.8.patch
new file mode 100644
index 000000000000..5d5fdee9bd24
--- /dev/null
+++ b/dev-haskell/wavy/files/wavy-0.1.0.0-ghc-8.8.patch
@@ -0,0 +1,11 @@
+--- a/Sound/Wav/ChannelData.hs
++++ b/Sound/Wav/ChannelData.hs
+@@ -111,7 +111,7 @@ wordPutter 1 = putInt8 . zeroStable (0 :: Int8)
+ wordPutter 2 = putInt16le . zeroStable (0 :: Int16)
+ wordPutter 3 = putInt32le . zeroStable (0 :: Int32)
+ wordPutter 4 = putInt64le
+-wordPutter x = \_ -> fail $ "The is no word putter for byte size " ++ show x
++wordPutter x = \_ -> error $ "The is no word putter for byte size " ++ show x
+
+ wordGetter :: (Num a, Show a, Eq a) => a -> Get Int64
+ wordGetter 1 = fmap zeroStable64 getInt8
diff --git a/dev-haskell/wavy/wavy-0.1.0.0.ebuild b/dev-haskell/wavy/wavy-0.1.0.0.ebuild
index 92dff5552602..bfc61294c40e 100644
--- a/dev-haskell/wavy/wavy-0.1.0.0.ebuild
+++ b/dev-haskell/wavy/wavy-0.1.0.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -9,7 +9,7 @@ CABAL_FEATURES="bin lib profile haddock hoogle hscolour"
inherit haskell-cabal
DESCRIPTION="Process WAVE files in Haskell"
-HOMEPAGE="https://bitbucket.org/robertmassaioli/wavy"
+HOMEPAGE="http://bitbucket.org/robertmassaioli/wavy"
SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
LICENSE="BSD"
@@ -27,7 +27,10 @@ DEPEND="${RDEPEND}
>=dev-haskell/cabal-1.18.1.3
"
-PATCHES=("${FILESDIR}"/${P}-binary-0.8.patch)
+PATCHES=(
+ "${FILESDIR}"/${P}-binary-0.8.patch
+ "${FILESDIR}"/${P}-ghc-8.8.patch
+)
src_prepare() {
default