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:
parent
c42543283d
commit
546abd38b5
|
@ -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) \
|
||||
|
|
|
@ -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.
|
||||
|
Loading…
Reference in New Issue