summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2020-08-04 23:39:42 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2020-08-04 23:39:42 +0100
commit26468766cd010cbe8ac1c40c6a33a7194992facb (patch)
treef11eeaa4bf9d19f2913a1b3b3dd40d5e6eeecc07 /dev-haskell/language-css
parentdev-haskell/deriving-compat: bump up to 0.5.8 (diff)
downloadgentoo-26468766cd010cbe8ac1c40c6a33a7194992facb.tar.gz
gentoo-26468766cd010cbe8ac1c40c6a33a7194992facb.tar.bz2
gentoo-26468766cd010cbe8ac1c40c6a33a7194992facb.zip
dev-haskell/language-css: tweak for ghc-8.8
Package-Manager: Portage-3.0.1, Repoman-2.3.23 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'dev-haskell/language-css')
-rw-r--r--dev-haskell/language-css/files/language-css-0.0.3-ghc84.patch7
-rw-r--r--dev-haskell/language-css/language-css-0.0.3.ebuild8
2 files changed, 13 insertions, 2 deletions
diff --git a/dev-haskell/language-css/files/language-css-0.0.3-ghc84.patch b/dev-haskell/language-css/files/language-css-0.0.3-ghc84.patch
new file mode 100644
index 000000000000..43acce4e7314
--- /dev/null
+++ b/dev-haskell/language-css/files/language-css-0.0.3-ghc84.patch
@@ -0,0 +1,7 @@
+--- a/src/Language/Css/Pretty.hs
++++ b/src/Language/Css/Pretty.hs
+@@ -6,3 +6,3 @@ import Text.PrettyPrint
+ import Language.Css.Syntax
+-
++import Prelude hiding ((<>))
+
diff --git a/dev-haskell/language-css/language-css-0.0.3.ebuild b/dev-haskell/language-css/language-css-0.0.3.ebuild
index a246056d761e..6113d48e4a89 100644
--- a/dev-haskell/language-css/language-css-0.0.3.ebuild
+++ b/dev-haskell/language-css/language-css-0.0.3.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
# ebuild generated by hackport 0.5.9999
@@ -9,7 +9,7 @@ CABAL_FEATURES="lib profile haddock hoogle hscolour"
inherit haskell-cabal
DESCRIPTION="CSS 2.1 syntax"
-HOMEPAGE="https://hackage.haskell.org/package/language-css"
+HOMEPAGE="http://hackage.haskell.org/package/language-css"
SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
LICENSE="BSD"
@@ -22,3 +22,7 @@ RDEPEND=">=dev-lang/ghc-7.4.1:=
DEPEND="${RDEPEND}
>=dev-haskell/cabal-1.2
"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-ghc84.patch
+)