diff options
author | abs <abs@pkgsrc.org> | 2018-12-11 10:15:55 +0000 |
---|---|---|
committer | abs <abs@pkgsrc.org> | 2018-12-11 10:15:55 +0000 |
commit | d5b2d27f6c4a0bb3da70660fb757402ec9c38e10 (patch) | |
tree | 8905bc5e9c30cf13b7f0163af76ef3f17f61e041 /textproc/icu | |
parent | ed9c906b13f1cc543fed95f54166e7014ac83693 (diff) | |
download | pkgsrc-d5b2d27f6c4a0bb3da70660fb757402ec9c38e10.tar.gz |
Apply ICU-20208 uspoof.cpp function checkImpl should be static from
https://github.com/unicode-org/icu/commit/8baff8f03e07d8e02304d0c888d0bb21ad2eeb01
This should fix the firefox build with this version of icu
Bump PKGREVISION
Diffstat (limited to 'textproc/icu')
-rw-r--r-- | textproc/icu/Makefile | 3 | ||||
-rw-r--r-- | textproc/icu/distinfo | 4 | ||||
-rw-r--r-- | textproc/icu/patches/patch-common_unicode_urename.h | 15 | ||||
-rw-r--r-- | textproc/icu/patches/patch-i18n_uspoof.cpp | 16 |
4 files changed, 36 insertions, 2 deletions
diff --git a/textproc/icu/Makefile b/textproc/icu/Makefile index 02f7d8fa6f2..d9e679eaf43 100644 --- a/textproc/icu/Makefile +++ b/textproc/icu/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.117 2018/12/09 18:28:16 adam Exp $ +# $NetBSD: Makefile,v 1.118 2018/12/11 10:15:55 abs Exp $ DISTNAME= icu4c-63_1-src PKGNAME= ${DISTNAME:S/4c//:S/-src//:S/_/./g} +PKGREVISION= 1 CATEGORIES= textproc MASTER_SITES= http://download.icu-project.org/files/icu4c/${PKGVERSION_NOREV}/ EXTRACT_SUFX= .tgz diff --git a/textproc/icu/distinfo b/textproc/icu/distinfo index 5188e451415..34441bf2d59 100644 --- a/textproc/icu/distinfo +++ b/textproc/icu/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.79 2018/12/09 18:28:16 adam Exp $ +$NetBSD: distinfo,v 1.80 2018/12/11 10:15:55 abs Exp $ SHA1 (icu4c-63_1-src.tgz) = ad523232f19af1c698c6489f8e15f7e9824f1662 RMD160 (icu4c-63_1-src.tgz) = 5c895a6e2b135978df59e135ed772747aec0065f @@ -10,6 +10,7 @@ SHA1 (patch-common_putil.cpp) = 6aa70b8698d663d3c798bafd9010a824c9609c20 SHA1 (patch-common_putilimp.h) = a68faa97c2bffeecaca1586e26f5bbe48e71b262 SHA1 (patch-common_umutex.h) = 096d3e15ef7b84533456af4570ed70747a4ef70c SHA1 (patch-common_unicode_platform.h) = 8b7b8bcf6f5185225a1ca516ac212a495f7b47e8 +SHA1 (patch-common_unicode_urename.h) = bc27b21c9a041a16ed1dd077e5c5af7e4cee4cf3 SHA1 (patch-common_uposixdefs.h) = 4739ca7d4662335adcb322cd0943770651d548ce SHA1 (patch-config_Makefile.inc.in) = e7cee161315321d2580074054d87714b55319886 SHA1 (patch-config_icu-config-bottom) = 168b89ee9180d4ae545125866ee91eb004010501 @@ -19,6 +20,7 @@ SHA1 (patch-config_mh-solaris-gcc) = e1097930f577917d3583e425d9d2affa1c3dcaf2 SHA1 (patch-configure) = fdeae51f4390779dfd8df8471196e322cbb9ea3d SHA1 (patch-configure.ac) = b0291cf02351cbad9b0c7340baea9eb81cabb158 SHA1 (patch-i18n_double-conversion-utils.h) = 773e93ed9baffa241d5af61bd631d2d7c4a867f8 +SHA1 (patch-i18n_uspoof.cpp) = b7d1757912a6da39c080b1453f4730cbb9b5fd65 SHA1 (patch-icudefs.mk.in) = c2a9469bf896b5f0702d5795c3b1c2b394893663 SHA1 (patch-runConfigureICU) = 3cd60613104fa4f1b81529795e75d5cf7f477b64 SHA1 (patch-tools-toolutil-pkg_genc.cpp) = 3cbcf3387d6a39315b26a3e2a2ffb715507e9110 diff --git a/textproc/icu/patches/patch-common_unicode_urename.h b/textproc/icu/patches/patch-common_unicode_urename.h new file mode 100644 index 00000000000..62e6fa3bbee --- /dev/null +++ b/textproc/icu/patches/patch-common_unicode_urename.h @@ -0,0 +1,15 @@ +$NetBSD: patch-common_unicode_urename.h,v 1.1 2018/12/11 10:15:56 abs Exp $ + +ICU-20208 uspoof.cpp function checkImpl should be static +https://github.com/unicode-org/icu/commit/8baff8f03e07d8e02304d0c888d0bb21ad2eeb01 + +--- common/unicode/urename.h.orig 2018-10-15 18:02:37.000000000 +0000 ++++ common/unicode/urename.h +@@ -110,7 +110,6 @@ + #define _UTF7Data U_ICU_ENTRY_POINT_RENAME(_UTF7Data) + #define _UTF8Data U_ICU_ENTRY_POINT_RENAME(_UTF8Data) + #define allowedHourFormatsCleanup U_ICU_ENTRY_POINT_RENAME(allowedHourFormatsCleanup) +-#define checkImpl U_ICU_ENTRY_POINT_RENAME(checkImpl) + #define cmemory_cleanup U_ICU_ENTRY_POINT_RENAME(cmemory_cleanup) + #define dayPeriodRulesCleanup U_ICU_ENTRY_POINT_RENAME(dayPeriodRulesCleanup) + #define deleteAllowedHourFormats U_ICU_ENTRY_POINT_RENAME(deleteAllowedHourFormats) diff --git a/textproc/icu/patches/patch-i18n_uspoof.cpp b/textproc/icu/patches/patch-i18n_uspoof.cpp new file mode 100644 index 00000000000..ce9a680c5b0 --- /dev/null +++ b/textproc/icu/patches/patch-i18n_uspoof.cpp @@ -0,0 +1,16 @@ +$NetBSD: patch-i18n_uspoof.cpp,v 1.1 2018/12/11 10:15:56 abs Exp $ + +ICU-20208 uspoof.cpp function checkImpl should be static +https://github.com/unicode-org/icu/commit/8baff8f03e07d8e02304d0c888d0bb21ad2eeb01 + +--- i18n/uspoof.cpp.orig 2018-09-29 00:34:42.000000000 +0000 ++++ i18n/uspoof.cpp +@@ -547,7 +547,7 @@ uspoof_checkUnicodeString(const USpoofCh + return uspoof_check2UnicodeString(sc, id, NULL, status); + } + +-int32_t checkImpl(const SpoofImpl* This, const UnicodeString& id, CheckResult* checkResult, UErrorCode* status) { ++static int32_t checkImpl(const SpoofImpl* This, const UnicodeString& id, CheckResult* checkResult, UErrorCode* status) { + U_ASSERT(This != NULL); + U_ASSERT(checkResult != NULL); + checkResult->clear(); |