Sun Dec 4 04:11:33 2016 UTC ()
Update to 58.1

* Fix regression with upstream patch,
  https://ssl.icu-project.org/trac/ticket/12827

Changelog:
Common Changes

    CLDR 30.0.2: For details of the many changes in CLDR, see CLDR 30. Some things to note:
        For some combinations of numbering system (arab, arabext, latn) and/or locale (ar, fa, he), there were changes to the bidirectional control characters used with certain symbols (percent, minus, plus), and changes to number patterns (currency and/or percent, including addition of bidirectional control characters in some cases).
        New in this release, the bidirectional controls used for such purposes include U+061C ARABIC LETTER MARK (ALM), which requires use of the bidirectional algorithm from Unicode 6.3 or later.
        The time separator for Norwegian locales (nb, nn) was changed to be ':' throughout.
    Unicode 9.0: Version 9.0 adds exactly 7,500 characters, for a total of 128,172 characters. These additions include six new scripts, 19 symbols for the new 4K TV standard, and 72 new emoji characters.
    Draft Emoji 4.0 data
        Emoji updates for word & line breaking. (#12664 & Unicode 9 update #12526)
    UBiDiTransform/BidiTransform API for convenient transformation of text between different Bidi layouts. (#11679)
    MeasureFormat API for measurement unit display names. (#12029)
    Most COUNT and LIMIT enum constants have been deprecated. (#12420)
    SpoofChecker: Handling of "whole script confusables" has been removed from ICU, in accordance with its removal from UTS #39 Version 9.0.0 and the removal of the corresponding Unicode data file. (#12549)
    Greek uppercasing ("el" locale ID) removes most diacritics. (#5456)
    More robust locale data loading across ICU implementation code.
    Reduced heap memory usage in DateTimePatternGenerator. (#11782)

ICU4C Specific Changes

    The layout engine code has been removed; the ParagraphLayout is not deprecated and remains (and must now be built on top of HarfBuzz). See http://userguide.icu-project.org/layoutengine (#12708)
    Windows: Supports & requires Visual Studio 2015.


(ryoon)
diff -r1.104 -r1.105 pkgsrc/textproc/icu/Makefile
diff -r1.37 -r1.38 pkgsrc/textproc/icu/PLIST
diff -r1.29 -r1.30 pkgsrc/textproc/icu/buildlink3.mk
diff -r1.61 -r1.62 pkgsrc/textproc/icu/distinfo
diff -r1.17 -r1.18 pkgsrc/textproc/icu/patches/patch-aa
diff -r0 -r1.1 pkgsrc/textproc/icu/patches/patch-common_ulist.c
diff -r0 -r1.1 pkgsrc/textproc/icu/patches/patch-i18n_digitlst.cpp
diff -r0 -r1.1 pkgsrc/textproc/icu/patches/patch-i18n_ucol__res.cpp
diff -r0 -r1.1 pkgsrc/textproc/icu/patches/patch-test_intltest_apicoll.cpp
diff -r0 -r1.1 pkgsrc/textproc/icu/patches/patch-test_intltest_apicoll.h

cvs diff -r1.104 -r1.105 pkgsrc/textproc/icu/Makefile (expand / switch to unified diff)

--- pkgsrc/textproc/icu/Makefile 2016/04/11 16:15:22 1.104
+++ pkgsrc/textproc/icu/Makefile 2016/12/04 04:11:32 1.105
@@ -1,16 +1,16 @@ @@ -1,16 +1,16 @@
1# $NetBSD: Makefile,v 1.104 2016/04/11 16:15:22 ryoon Exp $ 1# $NetBSD: Makefile,v 1.105 2016/12/04 04:11:32 ryoon Exp $
2 2
3DISTNAME= icu4c-57_1-src 3DISTNAME= icu4c-58_1-src
4PKGNAME= ${DISTNAME:S/4c//:S/-src//:S/_/./g} 4PKGNAME= ${DISTNAME:S/4c//:S/-src//:S/_/./g}
5CATEGORIES= textproc 5CATEGORIES= textproc
6MASTER_SITES= http://download.icu-project.org/files/icu4c/${PKGVERSION_NOREV}/ 6MASTER_SITES= http://download.icu-project.org/files/icu4c/${PKGVERSION_NOREV}/
7EXTRACT_SUFX= .tgz 7EXTRACT_SUFX= .tgz
8 8
9MAINTAINER= pkgsrc-users@NetBSD.org 9MAINTAINER= pkgsrc-users@NetBSD.org
10HOMEPAGE= http://www.icu-project.org/ 10HOMEPAGE= http://www.icu-project.org/
11COMMENT= Robust and full-featured Unicode services 11COMMENT= Robust and full-featured Unicode services
12LICENSE= mit 12LICENSE= mit
13 13
14WRKSRC= ${WRKDIR}/icu/source 14WRKSRC= ${WRKDIR}/icu/source
15USE_LANGUAGES= c c++ 15USE_LANGUAGES= c c++
16USE_TOOLS+= gmake 16USE_TOOLS+= gmake

cvs diff -r1.37 -r1.38 pkgsrc/textproc/icu/PLIST (expand / switch to unified diff)

--- pkgsrc/textproc/icu/PLIST 2016/04/12 19:51:54 1.37
+++ pkgsrc/textproc/icu/PLIST 2016/12/04 04:11:32 1.38
@@ -1,40 +1,25 @@ @@ -1,40 +1,25 @@
1@comment $NetBSD: PLIST,v 1.37 2016/04/12 19:51:54 tron Exp $ 1@comment $NetBSD: PLIST,v 1.38 2016/12/04 04:11:32 ryoon Exp $
2bin/derb 2bin/derb
3bin/genbrk 3bin/genbrk
4bin/gencfu 4bin/gencfu
5bin/gencnval 5bin/gencnval
6bin/gendict 6bin/gendict
7bin/genrb 7bin/genrb
8bin/icu-config 8bin/icu-config
9bin/icuinfo 9bin/icuinfo
10bin/makeconv 10bin/makeconv
11bin/pkgdata 11bin/pkgdata
12bin/uconv 12bin/uconv
13include/layout/LEFontInstance.h 
14include/layout/LEGlyphFilter.h 
15include/layout/LEGlyphStorage.h 
16include/layout/LEInsertionList.h 
17include/layout/LELanguages.h 
18include/layout/LEScripts.h 
19include/layout/LESwaps.h 
20include/layout/LETableReference.h 
21include/layout/LETypes.h 
22include/layout/LayoutEngine.h 
23include/layout/ParagraphLayout.h 
24include/layout/RunArrays.h 
25include/layout/loengine.h 
26include/layout/playout.h 
27include/layout/plruns.h 
28include/unicode/alphaindex.h 13include/unicode/alphaindex.h
29include/unicode/appendable.h 14include/unicode/appendable.h
30include/unicode/basictz.h 15include/unicode/basictz.h
31include/unicode/brkiter.h 16include/unicode/brkiter.h
32include/unicode/bytestream.h 17include/unicode/bytestream.h
33include/unicode/bytestrie.h 18include/unicode/bytestrie.h
34include/unicode/bytestriebuilder.h 19include/unicode/bytestriebuilder.h
35include/unicode/calendar.h 20include/unicode/calendar.h
36include/unicode/caniter.h 21include/unicode/caniter.h
37include/unicode/chariter.h 22include/unicode/chariter.h
38include/unicode/choicfmt.h 23include/unicode/choicfmt.h
39include/unicode/coleitr.h 24include/unicode/coleitr.h
40include/unicode/coll.h 25include/unicode/coll.h
@@ -108,26 +93,27 @@ include/unicode/stringtriebuilder.h @@ -108,26 +93,27 @@ include/unicode/stringtriebuilder.h
108include/unicode/stsearch.h 93include/unicode/stsearch.h
109include/unicode/symtable.h 94include/unicode/symtable.h
110include/unicode/tblcoll.h 95include/unicode/tblcoll.h
111include/unicode/timezone.h 96include/unicode/timezone.h
112include/unicode/tmunit.h 97include/unicode/tmunit.h
113include/unicode/tmutamt.h 98include/unicode/tmutamt.h
114include/unicode/tmutfmt.h 99include/unicode/tmutfmt.h
115include/unicode/translit.h 100include/unicode/translit.h
116include/unicode/tzfmt.h 101include/unicode/tzfmt.h
117include/unicode/tznames.h 102include/unicode/tznames.h
118include/unicode/tzrule.h 103include/unicode/tzrule.h
119include/unicode/tztrans.h 104include/unicode/tztrans.h
120include/unicode/ubidi.h 105include/unicode/ubidi.h
 106include/unicode/ubiditransform.h
121include/unicode/ubrk.h 107include/unicode/ubrk.h
122include/unicode/ucal.h 108include/unicode/ucal.h
123include/unicode/ucasemap.h 109include/unicode/ucasemap.h
124include/unicode/ucat.h 110include/unicode/ucat.h
125include/unicode/uchar.h 111include/unicode/uchar.h
126include/unicode/ucharstrie.h 112include/unicode/ucharstrie.h
127include/unicode/ucharstriebuilder.h 113include/unicode/ucharstriebuilder.h
128include/unicode/uchriter.h 114include/unicode/uchriter.h
129include/unicode/uclean.h 115include/unicode/uclean.h
130include/unicode/ucnv.h 116include/unicode/ucnv.h
131include/unicode/ucnv_cb.h 117include/unicode/ucnv_cb.h
132include/unicode/ucnv_err.h 118include/unicode/ucnv_err.h
133include/unicode/ucnvsel.h 119include/unicode/ucnvsel.h
@@ -193,71 +179,61 @@ include/unicode/utmscale.h @@ -193,71 +179,61 @@ include/unicode/utmscale.h
193include/unicode/utrace.h 179include/unicode/utrace.h
194include/unicode/utrans.h 180include/unicode/utrans.h
195include/unicode/utypes.h 181include/unicode/utypes.h
196include/unicode/uvernum.h 182include/unicode/uvernum.h
197include/unicode/uversion.h 183include/unicode/uversion.h
198include/unicode/vtzone.h 184include/unicode/vtzone.h
199lib/icu/${PKGVERSION}/Makefile.inc 185lib/icu/${PKGVERSION}/Makefile.inc
200lib/icu/${PKGVERSION}/pkgdata.inc 186lib/icu/${PKGVERSION}/pkgdata.inc
201lib/icu/Makefile.inc 187lib/icu/Makefile.inc
202lib/icu/current 188lib/icu/current
203lib/icu/pkgdata.inc 189lib/icu/pkgdata.inc
204lib/libicudata.a 190lib/libicudata.a
205lib/libicudata.so 191lib/libicudata.so
206lib/libicudata.so.57 192lib/libicudata.so.58
207lib/libicudata.so.${PKGVERSION} 193lib/libicudata.so.${PKGVERSION}
208lib/libicui18n.a 194lib/libicui18n.a
209lib/libicui18n.so 195lib/libicui18n.so
210lib/libicui18n.so.57 196lib/libicui18n.so.58
211lib/libicui18n.so.${PKGVERSION} 197lib/libicui18n.so.${PKGVERSION}
212lib/libicuio.a 198lib/libicuio.a
213lib/libicuio.so 199lib/libicuio.so
214lib/libicuio.so.57 200lib/libicuio.so.58
215lib/libicuio.so.${PKGVERSION} 201lib/libicuio.so.${PKGVERSION}
216lib/libicule.a 
217lib/libicule.so 
218lib/libicule.so.57 
219lib/libicule.so.${PKGVERSION} 
220lib/libiculx.a 
221lib/libiculx.so 
222lib/libiculx.so.57 
223lib/libiculx.so.${PKGVERSION} 
224lib/libicutest.a 202lib/libicutest.a
225lib/libicutest.so 203lib/libicutest.so
226lib/libicutest.so.57 204lib/libicutest.so.58
227lib/libicutest.so.${PKGVERSION} 205lib/libicutest.so.${PKGVERSION}
228lib/libicutu.a 206lib/libicutu.a
229lib/libicutu.so 207lib/libicutu.so
230lib/libicutu.so.57 208lib/libicutu.so.58
231lib/libicutu.so.${PKGVERSION} 209lib/libicutu.so.${PKGVERSION}
232lib/libicuuc.a 210lib/libicuuc.a
233lib/libicuuc.so 211lib/libicuuc.so
234lib/libicuuc.so.57 212lib/libicuuc.so.58
235lib/libicuuc.so.${PKGVERSION} 213lib/libicuuc.so.${PKGVERSION}
236lib/pkgconfig/icu-i18n.pc 214lib/pkgconfig/icu-i18n.pc
237lib/pkgconfig/icu-io.pc 215lib/pkgconfig/icu-io.pc
238lib/pkgconfig/icu-le.pc 
239lib/pkgconfig/icu-lx.pc 
240lib/pkgconfig/icu-uc.pc 216lib/pkgconfig/icu-uc.pc
241man/man1/derb.1 217man/man1/derb.1
242man/man1/genbrk.1 218man/man1/genbrk.1
243man/man1/gencfu.1 219man/man1/gencfu.1
244man/man1/gencnval.1 220man/man1/gencnval.1
245man/man1/gendict.1 221man/man1/gendict.1
246man/man1/genrb.1 222man/man1/genrb.1
247man/man1/icu-config.1 223man/man1/icu-config.1
248man/man1/makeconv.1 224man/man1/makeconv.1
249man/man1/pkgdata.1 225man/man1/pkgdata.1
250man/man1/uconv.1 226man/man1/uconv.1
251man/man8/genccode.8 227man/man8/genccode.8
252man/man8/gencmn.8 228man/man8/gencmn.8
253man/man8/gensprep.8 229man/man8/gensprep.8
254man/man8/icupkg.8 230man/man8/icupkg.8
255sbin/genccode 231sbin/genccode
256sbin/gencmn 232sbin/gencmn
257sbin/gennorm2 233sbin/gennorm2
258sbin/gensprep 234sbin/gensprep
259sbin/icupkg 235sbin/icupkg
260share/icu/${PKGVERSION}/LICENSE 236share/icu/${PKGVERSION}/LICENSE
261share/icu/${PKGVERSION}/config/${MH_NAME} 237share/icu/${PKGVERSION}/config/mh-bsd-gcc
262share/icu/${PKGVERSION}/install-sh 238share/icu/${PKGVERSION}/install-sh
263share/icu/${PKGVERSION}/mkinstalldirs 239share/icu/${PKGVERSION}/mkinstalldirs

cvs diff -r1.29 -r1.30 pkgsrc/textproc/icu/buildlink3.mk (expand / switch to unified diff)

--- pkgsrc/textproc/icu/buildlink3.mk 2016/04/11 16:15:22 1.29
+++ pkgsrc/textproc/icu/buildlink3.mk 2016/12/04 04:11:32 1.30
@@ -1,13 +1,13 @@ @@ -1,13 +1,13 @@
1# $NetBSD: buildlink3.mk,v 1.29 2016/04/11 16:15:22 ryoon Exp $ 1# $NetBSD: buildlink3.mk,v 1.30 2016/12/04 04:11:32 ryoon Exp $
2 2
3BUILDLINK_TREE+= icu 3BUILDLINK_TREE+= icu
4 4
5.if !defined(ICU_BUILDLINK3_MK) 5.if !defined(ICU_BUILDLINK3_MK)
6ICU_BUILDLINK3_MK:= 6ICU_BUILDLINK3_MK:=
7 7
8BUILDLINK_API_DEPENDS.icu+= icu>=3.4 8BUILDLINK_API_DEPENDS.icu+= icu>=3.4
9BUILDLINK_ABI_DEPENDS.icu+= icu>=57.1 9BUILDLINK_ABI_DEPENDS.icu+= icu>=58.1
10BUILDLINK_PKGSRCDIR.icu?= ../../textproc/icu 10BUILDLINK_PKGSRCDIR.icu?= ../../textproc/icu
11.endif # ICU_BUILDLINK3_MK 11.endif # ICU_BUILDLINK3_MK
12 12
13BUILDLINK_TREE+= -icu 13BUILDLINK_TREE+= -icu

cvs diff -r1.61 -r1.62 pkgsrc/textproc/icu/distinfo (expand / switch to unified diff)

--- pkgsrc/textproc/icu/distinfo 2016/04/11 16:15:22 1.61
+++ pkgsrc/textproc/icu/distinfo 2016/12/04 04:11:32 1.62
@@ -1,24 +1,29 @@ @@ -1,24 +1,29 @@
1$NetBSD: distinfo,v 1.61 2016/04/11 16:15:22 ryoon Exp $ 1$NetBSD: distinfo,v 1.62 2016/12/04 04:11:32 ryoon Exp $
2 2
3SHA1 (icu4c-57_1-src.tgz) = ca5f5cc584f45e87bf56bf8b7f9244d12a5ada67 3SHA1 (icu4c-58_1-src.tgz) = 0739f45f985e4dfd0fcda978aecbb0de4d7ddaa6
4RMD160 (icu4c-57_1-src.tgz) = a2b72756d7dddb0f459074dfc943fc9383d82d9b 4RMD160 (icu4c-58_1-src.tgz) = f7b2401c18d5b786890a0cbc38fefdf2c3d30570
5SHA512 (icu4c-57_1-src.tgz) = a3c701e9c81622db545bcf93f315c7b13159750f43f009d0aec59ceae3a8e1ccb751826d4b8a7387aca47f38bff2a85816b1a123b07d2bf731558c7b66e47b8a 5SHA512 (icu4c-58_1-src.tgz) = 59b2a76834192a35125fda326587e613ef4486152cf0278c6f22568d4ae02c4b2d897efcea2654ef2b11bd1c3154aecd38cb68a70f69430736f343689f94c155
6Size (icu4c-57_1-src.tgz) = 22360664 bytes 6Size (icu4c-58_1-src.tgz) = 23366443 bytes
7SHA1 (patch-aa) = fd5c513e75ca17a46be4ed010455bda63731afff 7SHA1 (patch-aa) = 67440d3af9b62b8c0be258c490255ba17f778ab4
8SHA1 (patch-ab) = 32f0e4c241535e37e4cad9b871ed3d36b4184199 8SHA1 (patch-ab) = 32f0e4c241535e37e4cad9b871ed3d36b4184199
9SHA1 (patch-ac) = e7cee161315321d2580074054d87714b55319886 9SHA1 (patch-ac) = e7cee161315321d2580074054d87714b55319886
10SHA1 (patch-acinclude.m4) = f7de1a16aad0ca77c4bbc457ba76b6171199ce09 10SHA1 (patch-acinclude.m4) = f7de1a16aad0ca77c4bbc457ba76b6171199ce09
11SHA1 (patch-ad) = c2a9469bf896b5f0702d5795c3b1c2b394893663 11SHA1 (patch-ad) = c2a9469bf896b5f0702d5795c3b1c2b394893663
12SHA1 (patch-af) = 07421b669780e5eea5dc455cc39ca9737c0f728a 12SHA1 (patch-af) = 07421b669780e5eea5dc455cc39ca9737c0f728a
13SHA1 (patch-common_putil.cpp) = 3058a542bcb2fdfa34b36acf389570990acd0da5 13SHA1 (patch-common_putil.cpp) = 3058a542bcb2fdfa34b36acf389570990acd0da5
14SHA1 (patch-common_putilimp.h) = a68faa97c2bffeecaca1586e26f5bbe48e71b262 14SHA1 (patch-common_putilimp.h) = a68faa97c2bffeecaca1586e26f5bbe48e71b262
 15SHA1 (patch-common_ulist.c) = 8dd2c8152f99d762aab7e9d48293de3ccfb711cf
15SHA1 (patch-common_umutex.h) = 096d3e15ef7b84533456af4570ed70747a4ef70c 16SHA1 (patch-common_umutex.h) = 096d3e15ef7b84533456af4570ed70747a4ef70c
16SHA1 (patch-common_unicode_platform.h) = 8b7b8bcf6f5185225a1ca516ac212a495f7b47e8 17SHA1 (patch-common_unicode_platform.h) = 8b7b8bcf6f5185225a1ca516ac212a495f7b47e8
17SHA1 (patch-common_uposixdefs.h) = 02dedd10282961dec66673069796122b447dac33 18SHA1 (patch-common_uposixdefs.h) = 02dedd10282961dec66673069796122b447dac33
18SHA1 (patch-config_icu-config-bottom) = 168b89ee9180d4ae545125866ee91eb004010501 19SHA1 (patch-config_icu-config-bottom) = 168b89ee9180d4ae545125866ee91eb004010501
19SHA1 (patch-config_mh-scoosr5) = 47703dcc184f58c0382da3225f849424ab74d472 20SHA1 (patch-config_mh-scoosr5) = 47703dcc184f58c0382da3225f849424ab74d472
20SHA1 (patch-config_mh-solaris-gcc) = 19f76c27bef22cc3b572e4b67a526d5f1aa077bc 21SHA1 (patch-config_mh-solaris-gcc) = 19f76c27bef22cc3b572e4b67a526d5f1aa077bc
21SHA1 (patch-configure) = 429c0b3eb3f7d0a8cf3d01a9bc359132eebe8cf4 22SHA1 (patch-configure) = 429c0b3eb3f7d0a8cf3d01a9bc359132eebe8cf4
22SHA1 (patch-configure.ac) = b0291cf02351cbad9b0c7340baea9eb81cabb158 23SHA1 (patch-configure.ac) = b0291cf02351cbad9b0c7340baea9eb81cabb158
 24SHA1 (patch-i18n_digitlst.cpp) = 57decf47ef778b5931b3ab247ceb5e8c95344956
 25SHA1 (patch-i18n_ucol__res.cpp) = 5e13b689941cf07bee997544aca19a6d6ce64511
 26SHA1 (patch-test_intltest_apicoll.cpp) = e55d7cd13d2bb9f6b08f2c9c59ae475b875f110f
 27SHA1 (patch-test_intltest_apicoll.h) = e2a93be1da65e08abe3e6b28bd8aee33307a7c3e
23SHA1 (patch-tools-toolutil-pkg_genc.c) = b5a9eb679908d9f579ff095c5389ec1aa8df8e1e 28SHA1 (patch-tools-toolutil-pkg_genc.c) = b5a9eb679908d9f579ff095c5389ec1aa8df8e1e
24SHA1 (patch-tools_pkgdata_pkgdata.cpp) = 1c87fcc511f0e6cedbaf01c5164e522c33f19458 29SHA1 (patch-tools_pkgdata_pkgdata.cpp) = 1c87fcc511f0e6cedbaf01c5164e522c33f19458

cvs diff -r1.17 -r1.18 pkgsrc/textproc/icu/patches/Attic/patch-aa (expand / switch to unified diff)

--- pkgsrc/textproc/icu/patches/Attic/patch-aa 2014/10/07 16:09:53 1.17
+++ pkgsrc/textproc/icu/patches/Attic/patch-aa 2016/12/04 04:11:33 1.18
@@ -1,52 +1,34 @@ @@ -1,52 +1,34 @@
1$NetBSD: patch-aa,v 1.17 2014/10/07 16:09:53 adam Exp $ 1$NetBSD: patch-aa,v 1.18 2016/12/04 04:11:33 ryoon Exp $
2 2
3Add linker flags for finding the libraries to pkg-config files. 3Add linker flags for finding the libraries to pkg-config files.
4Avoid using programs which need elevated privileges during the build. 4Avoid using programs which need elevated privileges during the build.
5 5
6--- Makefile.in.orig 2014-10-03 16:18:36.000000000 +0000 6--- Makefile.in.orig 2016-09-09 21:28:18.000000000 +0000
7+++ Makefile.in 7+++ Makefile.in
8@@ -272,7 +272,7 @@ config/icu-i18n.pc: config/icu.pc Makefi 8@@ -272,7 +272,7 @@ config/icu-i18n.pc: config/icu.pc Makefi
9 @echo "Description: $(PACKAGE_ICU_DESCRIPTION): Internationalization library" >> $@ 9 @echo "Description: $(PACKAGE_ICU_DESCRIPTION): Internationalization library" >> $@
10 @echo "Name: $(PACKAGE)-i18n" >> $@ 10 @echo "Name: $(PACKAGE)-i18n" >> $@
11 @echo "Requires: icu-uc" >> $@ 11 @echo "Requires: icu-uc" >> $@
12- @echo "Libs:" "${ICULIBS_I18N}" >> $@ 12- @echo "Libs:" "${ICULIBS_I18N}" >> $@
13+ @echo "Libs:" '-L$${libdir}' "${ICULIBS_I18N}" >> $@ 13+ @echo "Libs:" '-L$${libdir}' "${ICULIBS_I18N}" >> $@
14 @echo $@ updated. 14 @echo $@ updated.
15  15
16 config/icu-io.pc: config/icu.pc Makefile icudefs.mk 16 config/icu-io.pc: config/icu.pc Makefile icudefs.mk
17@@ -280,7 +280,7 @@ config/icu-io.pc: config/icu.pc Makefile 17@@ -280,7 +280,7 @@ config/icu-io.pc: config/icu.pc Makefile
18 @echo "Description: $(PACKAGE_ICU_DESCRIPTION): Stream and I/O Library" >> $@ 18 @echo "Description: $(PACKAGE_ICU_DESCRIPTION): Stream and I/O Library" >> $@
19 @echo "Name: $(PACKAGE)-io" >> $@ 19 @echo "Name: $(PACKAGE)-io" >> $@
20 @echo "Requires: icu-i18n" >> $@ 20 @echo "Requires: icu-i18n" >> $@
21- @echo "Libs:" "${ICULIBS_IO}" >> $@ 21- @echo "Libs:" "${ICULIBS_IO}" >> $@
22+ @echo "Libs:" '-L$${libdir}' "${ICULIBS_IO}" >> $@ 22+ @echo "Libs:" '-L$${libdir}' "${ICULIBS_IO}" >> $@
23 @echo $@ updated. 23 @echo $@ updated.
24  24
25 config/icu-le.pc: config/icu.pc Makefile icudefs.mk 
26@@ -288,7 +288,7 @@ config/icu-le.pc: config/icu.pc Makefile 
27 @echo "Description: $(PACKAGE_ICU_DESCRIPTION): Layout library" >> $@ 
28 @echo "Name: $(PACKAGE)-le" >> $@ 
29 @echo "Requires: icu-uc" >> $@ 
30- @echo "Libs:" "${ICULIBS_LE}" >> $@ 
31+ @echo "Libs:" '-L$${libdir}' "${ICULIBS_LE}" >> $@ 
32 @echo $@ updated. 
33  
34 ICULEHB_LIBS=@ICULEHB_LIBS@ 25 ICULEHB_LIBS=@ICULEHB_LIBS@
35@@ -307,7 +307,7 @@ ifneq ($(ICULEHB_LIBS),) 26@@ -299,7 +299,7 @@ ifneq ($(ICULEHB_LIBS),)
36 else 27 else
37 @echo "Requires: icu-le" >> $@ 28 @echo "Requires: icu-le" >> $@
38 endif 29 endif
39- @echo "Libs:" "${ICULIBS_LX}" >> $@ 30- @echo "Libs:" "${ICULIBS_LX}" >> $@
40+ @echo "Libs:" '-L$${libdir}' "${ICULIBS_LX}" >> $@ 31+ @echo "Libs:" '-L$${libdir}' "${ICULIBS_LX}" >> $@
41 @echo $@ updated. 32 @echo $@ updated.
42  33
43  34
44@@ -329,7 +329,7 @@ $(top_builddir)/config/pkgdataMakefile: 
45  
46 $(top_builddir)/config/icu-config: $(top_builddir)/Makefile $(top_srcdir)/config/icu-config-top $(top_srcdir)/config/icu-config-bottom $(top_builddir)/config/Makefile.inc @platform_make_fragment@ $(top_srcdir)/config/make2sh.sed 
47 -$(RMV) $@ 
48- $(INSTALL_SCRIPT) $(top_srcdir)/config/icu-config-top $@ 
49+ cp -f $(top_srcdir)/config/icu-config-top $@ 
50 chmod u+w $@ 
51 @echo "# Following from @platform_make_fragment@" >> $@ 
52 LC_ALL=C sed -f $(top_srcdir)/config/make2sh.sed < $(top_builddir)/config/Makefile.inc | grep -v '#M#' | uniq >> $@ 

File Added: pkgsrc/textproc/icu/patches/Attic/patch-common_ulist.c
$NetBSD: patch-common_ulist.c,v 1.1 2016/12/04 04:11:33 ryoon Exp $

--- common/ulist.c.orig	2016-06-15 18:58:17.000000000 +0000
+++ common/ulist.c
@@ -29,7 +29,6 @@ struct UList {
     UListNode *tail;
     
     int32_t size;
-    int32_t currentIndex;
 };
 
 static void ulist_addFirstItem(UList *list, UListNode *newItem);
@@ -51,7 +50,6 @@ U_CAPI UList *U_EXPORT2 ulist_createEmpt
     newList->head = NULL;
     newList->tail = NULL;
     newList->size = 0;
-    newList->currentIndex = -1;
     
     return newList;
 }
@@ -80,8 +78,9 @@ static void ulist_removeItem(UList *list
     } else {
         p->next->previous = p->previous;
     }
-    list->curr = NULL;
-    list->currentIndex = 0;
+    if (p == list->curr) {
+        list->curr = p->next;
+    }
     --list->size;
     if (p->forceDelete) {
         uprv_free(p->data);
@@ -150,7 +149,6 @@ U_CAPI void U_EXPORT2 ulist_addItemBegin
         newItem->next = list->head;
         list->head->previous = newItem;
         list->head = newItem;
-        list->currentIndex++;
     }
     
     list->size++;
@@ -193,7 +191,6 @@ U_CAPI void *U_EXPORT2 ulist_getNext(ULi
     
     curr = list->curr;
     list->curr = curr->next;
-    list->currentIndex++;
     
     return curr->data;
 }
@@ -209,7 +206,6 @@ U_CAPI int32_t U_EXPORT2 ulist_getListSi
 U_CAPI void U_EXPORT2 ulist_resetList(UList *list) {
     if (list != NULL) {
         list->curr = list->head;
-        list->currentIndex = 0;
     }
 }
 
@@ -272,4 +268,3 @@ U_CAPI void U_EXPORT2 ulist_reset_keywor
 U_CAPI UList * U_EXPORT2 ulist_getListFromEnum(UEnumeration *en) {
     return (UList *)(en->context);
 }
-

File Added: pkgsrc/textproc/icu/patches/Attic/patch-i18n_digitlst.cpp
$NetBSD: patch-i18n_digitlst.cpp,v 1.1 2016/12/04 04:11:33 ryoon Exp $

--- i18n/digitlst.cpp.orig	2016-10-17 05:10:38.000000000 +0000
+++ i18n/digitlst.cpp
@@ -61,7 +61,7 @@
 #endif
 
 #if U_USE_STRTOD_L && !U_PLATFORM_USES_ONLY_WIN32_API
-# if U_PLATFORM == U_PF_CYGWIN
+# if (U_PLATFORM == U_PF_CYGWIN) || defined(__NetBSD__)
 #   include <locale.h>
 # else
 #   include <xlocale.h>

File Added: pkgsrc/textproc/icu/patches/Attic/patch-i18n_ucol__res.cpp
$NetBSD: patch-i18n_ucol__res.cpp,v 1.1 2016/12/04 04:11:33 ryoon Exp $

--- i18n/ucol_res.cpp.orig	2016-09-28 02:26:02.000000000 +0000
+++ i18n/ucol_res.cpp
@@ -680,6 +680,7 @@ ucol_getKeywordValuesForLocale(const cha
         return NULL;
     }
     memcpy(en, &defaultKeywordValues, sizeof(UEnumeration));
+    ulist_resetList(sink.values);  // Initialize the iterator.
     en->context = sink.values;
     sink.values = NULL;  // Avoid deletion in the sink destructor.
     return en;

File Added: pkgsrc/textproc/icu/patches/Attic/patch-test_intltest_apicoll.cpp
$NetBSD: patch-test_intltest_apicoll.cpp,v 1.1 2016/12/04 04:11:33 ryoon Exp $

--- test/intltest/apicoll.cpp.orig	2016-09-20 04:30:06.000000000 +0000
+++ test/intltest/apicoll.cpp
@@ -81,17 +81,10 @@ CollationAPITest::TestProperty(/* char* 
     logln("Test ctors : ");
     col = Collator::createInstance(Locale::getEnglish(), success);
     if (U_FAILURE(success)){
-        errcheckln(success, "Default Collator creation failed. - %s", u_errorName(success));
+        errcheckln(success, "English Collator creation failed. - %s", u_errorName(success));
         return;
     }
 
-    StringEnumeration* kwEnum = col->getKeywordValuesForLocale("", Locale::getEnglish(),true,success);
-    if (U_FAILURE(success)){
-        errcheckln(success, "Get Keyword Values for Locale failed. - %s", u_errorName(success));
-        return;
-    }
-    delete kwEnum;
-
     col->getVersion(versionArray);
     // Check for a version greater than some value rather than equality
     // so that we need not update the expected version each time.
@@ -231,6 +224,29 @@ CollationAPITest::TestProperty(/* char* 
     delete junk;
 }
 
+void CollationAPITest::TestKeywordValues() {
+    IcuTestErrorCode errorCode(*this, "TestKeywordValues");
+    LocalPointer<Collator> col(Collator::createInstance(Locale::getEnglish(), errorCode));
+    if (errorCode.logIfFailureAndReset("English Collator creation failed")) {
+        return;
+    }
+
+    LocalPointer<StringEnumeration> kwEnum(
+        col->getKeywordValuesForLocale("collation", Locale::getEnglish(), TRUE, errorCode));
+    if (errorCode.logIfFailureAndReset("Get Keyword Values for English Collator failed")) {
+        return;
+    }
+    assertTrue("expect at least one collation tailoring for English", kwEnum->count(errorCode) > 0);
+    const char *kw;
+    UBool hasStandard = FALSE;
+    while ((kw = kwEnum->next(NULL, errorCode)) != NULL) {
+        if (strcmp(kw, "standard") == 0) {
+            hasStandard = TRUE;
+        }
+    }
+    assertTrue("expect at least the 'standard' collation tailoring for English", hasStandard);
+}
+
 void 
 CollationAPITest::TestRuleBasedColl()
 {
@@ -2466,6 +2482,7 @@ void CollationAPITest::runIndexedTest( i
     if (exec) logln("TestSuite CollationAPITest: ");
     TESTCASE_AUTO_BEGIN;
     TESTCASE_AUTO(TestProperty);
+    TESTCASE_AUTO(TestKeywordValues);
     TESTCASE_AUTO(TestOperators);
     TESTCASE_AUTO(TestDuplicate);
     TESTCASE_AUTO(TestCompare);

File Added: pkgsrc/textproc/icu/patches/Attic/patch-test_intltest_apicoll.h
$NetBSD: patch-test_intltest_apicoll.h,v 1.1 2016/12/04 04:11:33 ryoon Exp $

--- test/intltest/apicoll.h.orig	2016-06-15 18:58:17.000000000 +0000
+++ test/intltest/apicoll.h
@@ -35,6 +35,7 @@ public:
      * - displayable name in the desired locale
      */
     void TestProperty(/* char* par */);
+    void TestKeywordValues();
 
     /**
     * This tests the RuleBasedCollator