diff options
Diffstat (limited to 'textproc/hs-pandoc-citeproc')
-rw-r--r-- | textproc/hs-pandoc-citeproc/Makefile | 2 | ||||
-rw-r--r-- | textproc/hs-pandoc-citeproc/files/extra-patch-icu68 | 21 |
2 files changed, 23 insertions, 0 deletions
diff --git a/textproc/hs-pandoc-citeproc/Makefile b/textproc/hs-pandoc-citeproc/Makefile index 1b9d4d5b6468..d0ffb8533f20 100644 --- a/textproc/hs-pandoc-citeproc/Makefile +++ b/textproc/hs-pandoc-citeproc/Makefile @@ -2,6 +2,7 @@ PORTNAME= pandoc-citeproc PORTVERSION= 0.17.0.1 +PORTREVISION= 1 CATEGORIES= textproc haskell MAINTAINER= haskell@FreeBSD.org @@ -26,6 +27,7 @@ UNICODE_COLLATION_DESC= Use bindings to the Internationl Components for Unicode UNICODE_COLLATION_CABAL_FLAGS= unicode_collation UNICODE_COLLATION_USE_CABAL= text-icu-0.7.0.1 UNICODE_COLLATION_LIB_DEPENDS= libicui18n.so:devel/icu +UNICODE_COLLATION_EXTRA_PATCHES=${PATCHDIR}/extra-patch-icu68 USE_CABAL= Glob-0.10.0_1 \ HTTP-4000.3.14_1 \ diff --git a/textproc/hs-pandoc-citeproc/files/extra-patch-icu68 b/textproc/hs-pandoc-citeproc/files/extra-patch-icu68 new file mode 100644 index 000000000000..8126bf04fba3 --- /dev/null +++ b/textproc/hs-pandoc-citeproc/files/extra-patch-icu68 @@ -0,0 +1,21 @@ +Regressed by https://github.com/unicode-org/icu/commit/c3fe7e09d844 + +cbits/text_icu.c:308:43: error: + error: use of undeclared identifier 'TRUE' + return u_strCompareIter(iter1, iter2, TRUE); + ^ + | +308 | return u_strCompareIter(iter1, iter2, TRUE); + | ^ + +--- text-icu-0.7.0.1/cbits/text_icu.c.orig 2015-01-09 04:58:03 UTC ++++ text-icu-0.7.0.1/cbits/text_icu.c +@@ -305,7 +305,7 @@ int32_t __hs_u_strFoldCase(UChar *dest, int32_t destCa + + 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) |