commit: dc60ad82aff911e028aa5c9f63019b7f32135855 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> AuthorDate: Wed Dec 9 08:41:00 2020 +0000 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> CommitDate: Wed Dec 9 08:42:36 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc60ad82
dev-haskell/text-icu: tweak for icu-68.1 Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> dev-haskell/text-icu/files/text-icu-0.7.0.1-icu.patch | 12 ++++++++++++ dev-haskell/text-icu/text-icu-0.7.0.1.ebuild | 2 ++ 2 files changed, 14 insertions(+) diff --git a/dev-haskell/text-icu/files/text-icu-0.7.0.1-icu.patch b/dev-haskell/text-icu/files/text-icu-0.7.0.1-icu.patch new file mode 100644 index 00000000000..5a29309e7c4 --- /dev/null +++ b/dev-haskell/text-icu/files/text-icu-0.7.0.1-icu.patch @@ -0,0 +1,12 @@ +icu-68 disable TRUE/FALSE by default. +--- a/cbits/text_icu.c ++++ b/cbits/text_icu.c +@@ -305,7 +305,7 @@ int32_t __hs_u_strFoldCase(UChar *dest, int32_t destCapacity, + + int32_t __hs_u_strCompareIter(UCharIterator *iter1, UCharIterator *iter2) + { +- return u_strCompareIter(iter1, iter2, TRUE); ++ return u_strCompareIter(iter1, iter2, true); + } + + UBlockCode __hs_ublock_getCode(UChar32 c) diff --git a/dev-haskell/text-icu/text-icu-0.7.0.1.ebuild b/dev-haskell/text-icu/text-icu-0.7.0.1.ebuild index 9a2bbca610d..88b4ba6c94c 100644 --- a/dev-haskell/text-icu/text-icu-0.7.0.1.ebuild +++ b/dev-haskell/text-icu/text-icu-0.7.0.1.ebuild @@ -20,6 +20,8 @@ IUSE="" RESTRICT=test # QuickCheck occasionally finds counterexamples # and fails to build: Duplicate instance declarations: instance NFData Ordering +PATCHES=("${FILESDIR}"/${PN}-0.7.0.1-icu.patch) + RDEPEND=">=dev-haskell/text-0.9.1.0:=[profile?] >=dev-lang/ghc-7.4.1:= dev-libs/icu:=