Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Nest
Overlay
Commits
08e4f1fd
Commit
08e4f1fd
authored
Feb 21, 2021
by
James T. Lee
Browse files
haskell: Patch hstringtemplate for GHC 9
parent
e996a74b
Pipeline
#528
passed with stage
in 26 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
61 additions
and
0 deletions
+61
-0
dev-haskell/hstringtemplate/Manifest
dev-haskell/hstringtemplate/Manifest
+3
-0
dev-haskell/hstringtemplate/files/hstringtemplate-ghc-9-compatibility.patch
...gtemplate/files/hstringtemplate-ghc-9-compatibility.patch
+12
-0
dev-haskell/hstringtemplate/hstringtemplate-0.8.7.ebuild
dev-haskell/hstringtemplate/hstringtemplate-0.8.7.ebuild
+46
-0
No files found.
dev-haskell/hstringtemplate/Manifest
0 → 100644
View file @
08e4f1fd
AUX hstringtemplate-ghc-9-compatibility.patch 525 BLAKE2B 3b69f81e6322cedb656b17f1ac9a80f9b5269c3c6dbeac2594fc717670aca0944de35284adb9ef22b33b5417a7ae25be4599afeab5bbfe661df4982839a44ac8 SHA512 75112f2311ee749a3459ca7ba867ac919ee666340e50d5f805fa854f3a3fe5e4837c6b03d1557d9bcdc39e6da06595157151dab6cc74f4a8af16161124586add
DIST HStringTemplate-0.8.7.tar.gz 15903 BLAKE2B c030b287893e908e2e8b70f8b8f06750978d2109daa86a26c8c08abe2e00112f7fdbb8c8da1c45c689803e7bfc2027fda87c44b24d6d3f31c129b0803c42f324 SHA512 a00552a104231aa44e06c558f200a36430774351de2e7c55b0f25fd064d29aa25e62e48185d79184d916fe7440ad2a6d20dd54a5b4ad4bb635e58fc259185e5b
EBUILD hstringtemplate-0.8.7.ebuild 1051 BLAKE2B 5bec874152d3c8292b311ad54a5841f88e6a98026eaea32bf830675c67020033700752acb374b4d9faaec8e92f8877ee71ada4da4b96e94dd3d43fd0c007f94a SHA512 a1c63c3d9aa7e581533dd2b41a487c0a81be41282286cd5784939ba5d5c6c52e3a2e9f311ce4a8d3c41e514194be98b90a5cea2eedc5896771bc3d912f790b83
dev-haskell/hstringtemplate/files/hstringtemplate-ghc-9-compatibility.patch
0 → 100644
View file @
08e4f1fd
diff -ur HStringTemplate-0.8.7.orig/Text/StringTemplate/Group.hs HStringTemplate-0.8.7/Text/StringTemplate/Group.hs
--- HStringTemplate-0.8.7.orig/Text/StringTemplate/Group.hs 2021-02-21 17:16:44.086163455 -0500
+++ HStringTemplate-0.8.7/Text/StringTemplate/Group.hs 2021-02-21 17:18:30.106539453 -0500
@@ -18,7 +18,7 @@
import System.FilePath
import System.Directory
import Data.IORef
-import System.IO
+import System.IO hiding (readFile')
import System.IO.Unsafe
import System.IO.Error
import qualified Data.Map as M
dev-haskell/hstringtemplate/hstringtemplate-0.8.7.ebuild
0 → 100644
View file @
08e4f1fd
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI
=
7
# ebuild generated by hackport 0.5.5.9999
CABAL_FEATURES
=
"lib profile haddock hoogle hscolour"
inherit haskell-cabal
MY_PN
=
"HStringTemplate"
MY_P
=
"
${
MY_PN
}
-
${
PV
}
"
DESCRIPTION
=
"StringTemplate implementation in Haskell"
HOMEPAGE
=
"https://hackage.haskell.org/package/HStringTemplate"
SRC_URI
=
"https://hackage.haskell.org/package/
${
MY_P
}
/
${
MY_P
}
.tar.gz"
LICENSE
=
"BSD"
SLOT
=
"0/
${
PV
}
"
KEYWORDS
=
"~amd64 ~x86"
IUSE
=
""
RDEPEND
=
"dev-haskell/blaze-builder:=[profile?]
dev-haskell/mtl:=[profile?]
dev-haskell/old-locale:=[profile?]
<dev-haskell/parsec-4:=[profile?]
>=dev-haskell/semigroups-0.16:=[profile?]
dev-haskell/syb:=[profile?]
dev-haskell/text:=[profile?]
dev-haskell/void:=[profile?]
>=dev-lang/ghc-7.8.2:=
"
DEPEND
=
"
${
RDEPEND
}
>=dev-haskell/cabal-1.18.1.3
"
S
=
"
${
WORKDIR
}
/
${
MY_P
}
"
src_prepare
()
{
default
cabal_chdeps
\
'time >= 1.4.2 && < 1.9'
'time >= 1.4.2'
eapply
"
${
FILESDIR
}
/
${
PN
}
-ghc-9-compatibility.patch"
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment