dev-haskell/alut: fix USE=example for modern GHC

Reported-by: Toralf Förster
Closes: https://bugs.gentoo.org/773379
Package-Manager: Portage-3.0.16, Repoman-3.0.2
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
This commit is contained in:
Sergei Trofimovich 2021-02-28 18:39:36 +00:00
parent c42543283d
commit 546abd38b5
No known key found for this signature in database
GPG Key ID: ED5E45E06F2AC293
2 changed files with 13 additions and 1 deletions

View File

@ -1,4 +1,4 @@
# Copyright 1999-2019 Gentoo Authors
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@ -32,6 +32,8 @@ DEPEND="${RDEPEND}
S="${WORKDIR}/${MY_P}"
PATCHES=("${FILESDIR}"/${PN}-2.4.0.3-ghc-8.patch)
src_configure() {
haskell-cabal_src_configure \
$(cabal_flag examples buildexamples) \

View File

@ -0,0 +1,10 @@
--- a/examples/Basic/OpenALInfo.hs
+++ b/examples/Basic/OpenALInfo.hs
@@ -7,6 +7,7 @@
import Text.PrettyPrint
import Sound.ALUT
+import Prelude hiding ((<>))
-- This program prints some basic information about ALC and AL.