ICU 54 is a major release of ICU, with new features, new APIs and many bug fixes in data and code. It supports the latest versions of the Unicode locale data (CLDR 26, September 2014) and Unicode Standard (Unicode 7.0, June 2014). The improvements include 72 new measurement units, Unihan radical-stroke collation moved into root, new RBNF PluralFormat syntax, dictionary-based word and line break for Burmese, support for short locale display names, compatibility support for IANA time zone data abbreviations, a tech preview of FilteredBreakIterator using ULI break data, ICU4C thread safety fixes, and the ability to build ICU4C Paragraph Layout with HarfBuzz.diff -r1.93 -r1.94 pkgsrc/textproc/icu/Makefile
(adam)
@@ -1,16 +1,16 @@ | @@ -1,16 +1,16 @@ | |||
1 | # $NetBSD: Makefile,v 1.93 2014/07/18 10:28:11 ryoon Exp $ | 1 | # $NetBSD: Makefile,v 1.94 2014/10/07 16:09:53 adam Exp $ | |
2 | 2 | |||
3 | DISTNAME= icu4c-53_1-src | 3 | DISTNAME= icu4c-54_1-src | |
4 | PKGNAME= ${DISTNAME:S/4c//:S/-src//:S/_/./g} | 4 | PKGNAME= ${DISTNAME:S/4c//:S/-src//:S/_/./g} | |
5 | CATEGORIES= textproc | 5 | CATEGORIES= textproc | |
6 | MASTER_SITES= http://download.icu-project.org/files/icu4c/${PKGVERSION_NOREV}/ | 6 | MASTER_SITES= http://download.icu-project.org/files/icu4c/${PKGVERSION_NOREV}/ | |
7 | EXTRACT_SUFX= .tgz | 7 | EXTRACT_SUFX= .tgz | |
8 | 8 | |||
9 | MAINTAINER= pkgsrc-users@NetBSD.org | 9 | MAINTAINER= pkgsrc-users@NetBSD.org | |
10 | HOMEPAGE= http://www.icu-project.org/ | 10 | HOMEPAGE= http://www.icu-project.org/ | |
11 | COMMENT= Robust and full-featured Unicode services | 11 | COMMENT= Robust and full-featured Unicode services | |
12 | LICENSE= mit | 12 | LICENSE= mit | |
13 | 13 | |||
14 | WRKSRC= ${WRKDIR}/icu/source | 14 | WRKSRC= ${WRKDIR}/icu/source | |
15 | USE_LANGUAGES= c c++ | 15 | USE_LANGUAGES= c c++ | |
16 | USE_TOOLS+= gmake | 16 | USE_TOOLS+= gmake |
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.31 2014/04/07 11:49:57 adam Exp $ | 1 | @comment $NetBSD: PLIST,v 1.32 2014/10/07 16:09:53 adam Exp $ | |
2 | bin/derb | 2 | bin/derb | |
3 | bin/genbrk | 3 | bin/genbrk | |
4 | bin/gencfu | 4 | bin/gencfu | |
5 | bin/gencnval | 5 | bin/gencnval | |
6 | bin/gendict | 6 | bin/gendict | |
7 | bin/genrb | 7 | bin/genrb | |
8 | bin/icu-config | 8 | bin/icu-config | |
9 | bin/icuinfo | 9 | bin/icuinfo | |
10 | bin/makeconv | 10 | bin/makeconv | |
11 | bin/pkgdata | 11 | bin/pkgdata | |
12 | bin/uconv | 12 | bin/uconv | |
13 | include/layout/LEFontInstance.h | 13 | include/layout/LEFontInstance.h | |
14 | include/layout/LEGlyphFilter.h | 14 | include/layout/LEGlyphFilter.h | |
@@ -84,26 +84,27 @@ include/unicode/platform.h | @@ -84,26 +84,27 @@ include/unicode/platform.h | |||
84 | include/unicode/plurfmt.h | 84 | include/unicode/plurfmt.h | |
85 | include/unicode/plurrule.h | 85 | include/unicode/plurrule.h | |
86 | include/unicode/ptypes.h | 86 | include/unicode/ptypes.h | |
87 | include/unicode/putil.h | 87 | include/unicode/putil.h | |
88 | include/unicode/rbbi.h | 88 | include/unicode/rbbi.h | |
89 | include/unicode/rbnf.h | 89 | include/unicode/rbnf.h | |
90 | include/unicode/rbtz.h | 90 | include/unicode/rbtz.h | |
91 | include/unicode/regex.h | 91 | include/unicode/regex.h | |
92 | include/unicode/region.h | 92 | include/unicode/region.h | |
93 | include/unicode/reldatefmt.h | 93 | include/unicode/reldatefmt.h | |
94 | include/unicode/rep.h | 94 | include/unicode/rep.h | |
95 | include/unicode/resbund.h | 95 | include/unicode/resbund.h | |
96 | include/unicode/schriter.h | 96 | include/unicode/schriter.h | |
97 | include/unicode/scientificformathelper.h | |||
97 | include/unicode/search.h | 98 | include/unicode/search.h | |
98 | include/unicode/selfmt.h | 99 | include/unicode/selfmt.h | |
99 | include/unicode/simpletz.h | 100 | include/unicode/simpletz.h | |
100 | include/unicode/smpdtfmt.h | 101 | include/unicode/smpdtfmt.h | |
101 | include/unicode/sortkey.h | 102 | include/unicode/sortkey.h | |
102 | include/unicode/std_string.h | 103 | include/unicode/std_string.h | |
103 | include/unicode/strenum.h | 104 | include/unicode/strenum.h | |
104 | include/unicode/stringpiece.h | 105 | include/unicode/stringpiece.h | |
105 | include/unicode/stringtriebuilder.h | 106 | include/unicode/stringtriebuilder.h | |
106 | include/unicode/stsearch.h | 107 | include/unicode/stsearch.h | |
107 | include/unicode/symtable.h | 108 | include/unicode/symtable.h | |
108 | include/unicode/tblcoll.h | 109 | include/unicode/tblcoll.h | |
109 | include/unicode/timezone.h | 110 | include/unicode/timezone.h | |
@@ -188,55 +189,55 @@ include/unicode/utmscale.h | @@ -188,55 +189,55 @@ include/unicode/utmscale.h | |||
188 | include/unicode/utrace.h | 189 | include/unicode/utrace.h | |
189 | include/unicode/utrans.h | 190 | include/unicode/utrans.h | |
190 | include/unicode/utypes.h | 191 | include/unicode/utypes.h | |
191 | include/unicode/uvernum.h | 192 | include/unicode/uvernum.h | |
192 | include/unicode/uversion.h | 193 | include/unicode/uversion.h | |
193 | include/unicode/vtzone.h | 194 | include/unicode/vtzone.h | |
194 | lib/icu/${PKGVERSION}/Makefile.inc | 195 | lib/icu/${PKGVERSION}/Makefile.inc | |
195 | lib/icu/${PKGVERSION}/pkgdata.inc | 196 | lib/icu/${PKGVERSION}/pkgdata.inc | |
196 | lib/icu/Makefile.inc | 197 | lib/icu/Makefile.inc | |
197 | lib/icu/current | 198 | lib/icu/current | |
198 | lib/icu/pkgdata.inc | 199 | lib/icu/pkgdata.inc | |
199 | lib/libicudata.a | 200 | lib/libicudata.a | |
200 | lib/libicudata.so | 201 | lib/libicudata.so | |
201 | lib/libicudata.so.53 | 202 | lib/libicudata.so.54 | |
202 | lib/libicudata.so.${PKGVERSION} | 203 | lib/libicudata.so.${PKGVERSION} | |
203 | lib/libicui18n.a | 204 | lib/libicui18n.a | |
204 | lib/libicui18n.so | 205 | lib/libicui18n.so | |
205 | lib/libicui18n.so.53 | 206 | lib/libicui18n.so.54 | |
206 | lib/libicui18n.so.${PKGVERSION} | 207 | lib/libicui18n.so.${PKGVERSION} | |
207 | lib/libicuio.a | 208 | lib/libicuio.a | |
208 | lib/libicuio.so | 209 | lib/libicuio.so | |
209 | lib/libicuio.so.53 | 210 | lib/libicuio.so.54 | |
210 | lib/libicuio.so.${PKGVERSION} | 211 | lib/libicuio.so.${PKGVERSION} | |
211 | lib/libicule.a | 212 | lib/libicule.a | |
212 | lib/libicule.so | 213 | lib/libicule.so | |
213 | lib/libicule.so.53 | 214 | lib/libicule.so.54 | |
214 | lib/libicule.so.${PKGVERSION} | 215 | lib/libicule.so.${PKGVERSION} | |
215 | lib/libiculx.a | 216 | lib/libiculx.a | |
216 | lib/libiculx.so | 217 | lib/libiculx.so | |
217 | lib/libiculx.so.53 | 218 | lib/libiculx.so.54 | |
218 | lib/libiculx.so.${PKGVERSION} | 219 | lib/libiculx.so.${PKGVERSION} | |
219 | lib/libicutest.a | 220 | lib/libicutest.a | |
220 | lib/libicutest.so | 221 | lib/libicutest.so | |
221 | lib/libicutest.so.53 | 222 | lib/libicutest.so.54 | |
222 | lib/libicutest.so.${PKGVERSION} | 223 | lib/libicutest.so.${PKGVERSION} | |
223 | lib/libicutu.a | 224 | lib/libicutu.a | |
224 | lib/libicutu.so | 225 | lib/libicutu.so | |
225 | lib/libicutu.so.53 | 226 | lib/libicutu.so.54 | |
226 | lib/libicutu.so.${PKGVERSION} | 227 | lib/libicutu.so.${PKGVERSION} | |
227 | lib/libicuuc.a | 228 | lib/libicuuc.a | |
228 | lib/libicuuc.so | 229 | lib/libicuuc.so | |
229 | lib/libicuuc.so.53 | 230 | lib/libicuuc.so.54 | |
230 | lib/libicuuc.so.${PKGVERSION} | 231 | lib/libicuuc.so.${PKGVERSION} | |
231 | lib/pkgconfig/icu-i18n.pc | 232 | lib/pkgconfig/icu-i18n.pc | |
232 | lib/pkgconfig/icu-io.pc | 233 | lib/pkgconfig/icu-io.pc | |
233 | lib/pkgconfig/icu-le.pc | 234 | lib/pkgconfig/icu-le.pc | |
234 | lib/pkgconfig/icu-lx.pc | 235 | lib/pkgconfig/icu-lx.pc | |
235 | lib/pkgconfig/icu-uc.pc | 236 | lib/pkgconfig/icu-uc.pc | |
236 | man/man1/derb.1 | 237 | man/man1/derb.1 | |
237 | man/man1/genbrk.1 | 238 | man/man1/genbrk.1 | |
238 | man/man1/gencfu.1 | 239 | man/man1/gencfu.1 | |
239 | man/man1/gencnval.1 | 240 | man/man1/gencnval.1 | |
240 | man/man1/gendict.1 | 241 | man/man1/gendict.1 | |
241 | man/man1/genrb.1 | 242 | man/man1/genrb.1 | |
242 | man/man1/icu-config.1 | 243 | man/man1/icu-config.1 |
@@ -1,20 +1,19 @@ | @@ -1,20 +1,19 @@ | |||
1 | $NetBSD: distinfo,v 1.49 2014/07/18 10:28:11 ryoon Exp $ | 1 | $NetBSD: distinfo,v 1.50 2014/10/07 16:09:53 adam Exp $ | |
2 | 2 | |||
3 | SHA1 (icu4c-53_1-src.tgz) = 7eca017fdd101e676d425caaf28ef862d3655e0f | 3 | SHA1 (icu4c-54_1-src.tgz) = 8c752490bbf31cea26e20246430cee67d48abe34 | |
4 | RMD160 (icu4c-53_1-src.tgz) = 9bd1b4bdc2010545c76a927dcf46049686beeab9 | 4 | RMD160 (icu4c-54_1-src.tgz) = b1440e1a3330b12336742c881863a8de6a6d2235 | |
5 | Size (icu4c-53_1-src.tgz) = 23218952 bytes | 5 | Size (icu4c-54_1-src.tgz) = 25485678 bytes | |
6 | SHA1 (patch-aa) = dc4adcbd6e3115b0f58c7452f408fcab2dd77f45 | 6 | SHA1 (patch-aa) = fd5c513e75ca17a46be4ed010455bda63731afff | |
7 | SHA1 (patch-ab) = 32f0e4c241535e37e4cad9b871ed3d36b4184199 | 7 | SHA1 (patch-ab) = 32f0e4c241535e37e4cad9b871ed3d36b4184199 | |
8 | SHA1 (patch-ac) = e7cee161315321d2580074054d87714b55319886 | 8 | SHA1 (patch-ac) = e7cee161315321d2580074054d87714b55319886 | |
9 | SHA1 (patch-acinclude.m4) = a6993fefca751d7e63e60130cdcd69f3adbc0589 | 9 | SHA1 (patch-acinclude.m4) = ab757e9bf7351e44edd92b96edbffc40acb44dae | |
10 | SHA1 (patch-ad) = c2a9469bf896b5f0702d5795c3b1c2b394893663 | 10 | SHA1 (patch-ad) = c2a9469bf896b5f0702d5795c3b1c2b394893663 | |
11 | SHA1 (patch-af) = dcfbaf16844292a9ae57536ae2fb62fd1659d067 | 11 | SHA1 (patch-af) = 6f41d58f258361e28ce3283e1b46f8a762b7c5dd | |
12 | SHA1 (patch-common_putilimp.h) = a68faa97c2bffeecaca1586e26f5bbe48e71b262 | 12 | SHA1 (patch-common_putilimp.h) = a68faa97c2bffeecaca1586e26f5bbe48e71b262 | |
13 | SHA1 (patch-common_umutex.h) = 096d3e15ef7b84533456af4570ed70747a4ef70c | 13 | SHA1 (patch-common_umutex.h) = 096d3e15ef7b84533456af4570ed70747a4ef70c | |
14 | SHA1 (patch-common_unicode_platform.h) = 82786dff790782eb07cdc527061de33e771ec63c | 14 | SHA1 (patch-common_unicode_platform.h) = 82786dff790782eb07cdc527061de33e771ec63c | |
15 | SHA1 (patch-common_uposixdefs.h) = 02dedd10282961dec66673069796122b447dac33 | 15 | SHA1 (patch-common_uposixdefs.h) = 02dedd10282961dec66673069796122b447dac33 | |
16 | SHA1 (patch-config_icu-config-bottom) = 168b89ee9180d4ae545125866ee91eb004010501 | 16 | SHA1 (patch-config_icu-config-bottom) = 168b89ee9180d4ae545125866ee91eb004010501 | |
17 | SHA1 (patch-config_mh-scoosr5) = 47703dcc184f58c0382da3225f849424ab74d472 | 17 | SHA1 (patch-config_mh-scoosr5) = 47703dcc184f58c0382da3225f849424ab74d472 | |
18 | SHA1 (patch-config_mh-solaris-gcc) = f81fec8f0d232b9125c7ea7ec334b78872aa2025 | 18 | SHA1 (patch-configure) = 2d17823ee06693ce382745ce345eca37001a0a7c | |
19 | SHA1 (patch-configure) = aae0978c1eb1b2bafa229ba0f2e9d581554f80b2 | |||
20 | SHA1 (patch-configure.ac) = ea7586eb8131ff53a483b5bd7ca162886e9045f1 | 19 | SHA1 (patch-configure.ac) = ea7586eb8131ff53a483b5bd7ca162886e9045f1 |
@@ -1,52 +1,52 @@ | @@ -1,52 +1,52 @@ | |||
1 | $NetBSD: patch-aa,v 1.16 2014/06/08 09:08:20 obache Exp $ | 1 | $NetBSD: patch-aa,v 1.17 2014/10/07 16:09:53 adam Exp $ | |
2 | 2 | |||
3 | Add linker flags for finding the libraries to pkg-config files. | 3 | Add linker flags for finding the libraries to pkg-config files. | |
4 | Avoid using programs which need elevated privileges during the build. | 4 | Avoid using programs which need elevated privileges during the build. | |
5 | 5 | |||
6 | --- Makefile.in.orig 2012-11-05 17:18:12.000000000 +0000 | 6 | --- Makefile.in.orig 2014-10-03 16:18:36.000000000 +0000 | |
7 | +++ Makefile.in | 7 | +++ Makefile.in | |
8 | @@ -256,7 +256,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 | @@ -264,7 +264,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 | 25 | config/icu-le.pc: config/icu.pc Makefile icudefs.mk | |
26 | @@ -272,7 +272,7 @@ config/icu-le.pc: config/icu.pc Makefile | 26 | @@ -288,7 +288,7 @@ config/icu-le.pc: config/icu.pc Makefile | |
27 | @echo "Description: $(PACKAGE_ICU_DESCRIPTION): Layout library" >> $@ | 27 | @echo "Description: $(PACKAGE_ICU_DESCRIPTION): Layout library" >> $@ | |
28 | @echo "Name: $(PACKAGE)-le" >> $@ | 28 | @echo "Name: $(PACKAGE)-le" >> $@ | |
29 | @echo "Requires: icu-uc" >> $@ | 29 | @echo "Requires: icu-uc" >> $@ | |
30 | - @echo "Libs:" "${ICULIBS_LE}" >> $@ | 30 | - @echo "Libs:" "${ICULIBS_LE}" >> $@ | |
31 | + @echo "Libs:" '-L$${libdir}' "${ICULIBS_LE}" >> $@ | 31 | + @echo "Libs:" '-L$${libdir}' "${ICULIBS_LE}" >> $@ | |
32 | @echo $@ updated. | 32 | @echo $@ updated. | |
33 | 33 | |||
34 | config/icu-lx.pc: config/icu.pc Makefile icudefs.mk | 34 | ICULEHB_LIBS=@ICULEHB_LIBS@ | |
35 | @@ -280,7 +280,7 @@ config/icu-lx.pc: config/icu.pc Makefile | 35 | @@ -307,7 +307,7 @@ ifneq ($(ICULEHB_LIBS),) | |
36 | @echo "Description: $(PACKAGE_ICU_DESCRIPTION): Paragraph Layout library" >> $@ | 36 | else | |
37 | @echo "Name: $(PACKAGE)-lx" >> $@ | |||
38 | @echo "Requires: icu-le" >> $@ | 37 | @echo "Requires: icu-le" >> $@ | |
38 | endif | |||
39 | - @echo "Libs:" "${ICULIBS_LX}" >> $@ | 39 | - @echo "Libs:" "${ICULIBS_LX}" >> $@ | |
40 | + @echo "Libs:" '-L$${libdir}' "${ICULIBS_LX}" >> $@ | 40 | + @echo "Libs:" '-L$${libdir}' "${ICULIBS_LX}" >> $@ | |
41 | @echo $@ updated. | 41 | @echo $@ updated. | |
42 | 42 | |||
43 | 43 | |||
44 | @@ -302,7 +302,7 @@ $(top_builddir)/config/pkgdataMakefile: | 44 | @@ -329,7 +329,7 @@ $(top_builddir)/config/pkgdataMakefile: | |
45 | 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 | 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) $@ | 47 | -$(RMV) $@ | |
48 | - $(INSTALL_SCRIPT) $(top_srcdir)/config/icu-config-top $@ | 48 | - $(INSTALL_SCRIPT) $(top_srcdir)/config/icu-config-top $@ | |
49 | + cp -f $(top_srcdir)/config/icu-config-top $@ | 49 | + cp -f $(top_srcdir)/config/icu-config-top $@ | |
50 | chmod u+w $@ | 50 | chmod u+w $@ | |
51 | @echo "# Following from @platform_make_fragment@" >> $@ | 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 >> $@ | 52 | LC_ALL=C sed -f $(top_srcdir)/config/make2sh.sed < $(top_builddir)/config/Makefile.inc | grep -v '#M#' | uniq >> $@ |
@@ -1,34 +1,14 @@ | @@ -1,34 +1,14 @@ | |||
1 | $NetBSD: patch-acinclude.m4,v 1.2 2014/07/18 10:28:11 ryoon Exp $ | 1 | $NetBSD: patch-acinclude.m4,v 1.3 2014/10/07 16:09:53 adam Exp $ | |
2 | 2 | |||
3 | Solaris seems to need -std=c99 with recent pkgsrc so keep it | 3 | Solaris seems to need -std=c99 with recent pkgsrc so keep it. | |
4 | and at the same time fix a typo involving CXXFLAGS. | |||
5 | 4 | |||
6 | --- acinclude.m4.orig 2013-09-13 21:36:38.000000000 +0000 | 5 | --- acinclude.m4.orig 2014-10-03 16:18:36.000000000 +0000 | |
7 | +++ acinclude.m4 | 6 | +++ acinclude.m4 | |
8 | @@ -69,6 +69,7 @@ powerpc*-*-linux*) | 7 | @@ -82,6 +82,7 @@ x86_64-*-cygwin) | |
9 | *-dec-osf*) icu_cv_host_frag=mh-alpha-osf ;; | 8 | *-dec-osf*) icu_cv_host_frag=mh-alpha-osf ;; | |
10 | *-*-nto*) icu_cv_host_frag=mh-qnx ;; | 9 | *-*-nto*) icu_cv_host_frag=mh-qnx ;; | |
11 | *-ncr-*) icu_cv_host_frag=mh-mpras ;; | 10 | *-ncr-*) icu_cv_host_frag=mh-mpras ;; | |
12 | +*-*-sco3.2v5*) icu_cv_host_frag=mh-scoosr5 ;; | 11 | +*-*-sco3.2v5*) icu_cv_host_frag=mh-scoosr5 ;; | |
13 | *) icu_cv_host_frag=mh-unknown ;; | 12 | *) icu_cv_host_frag=mh-unknown ;; | |
14 | esac | 13 | esac | |
15 | ] | 14 | ] | |
16 | @@ -262,7 +263,7 @@ AC_DEFUN([AC_CHECK_64BIT_LIBS], | |||
17 | if test "$CAN_BUILD_64" != yes; then | |||
18 | # Nope. back out changes. | |||
19 | CFLAGS="${CFLAGS_OLD}" | |||
20 | - CXXFLAGS="${CFLAGS_OLD}" | |||
21 | + CXXFLAGS="${CXXFLAGS_OLD}" | |||
22 | # 2. try xarch=v9 [deprecated] | |||
23 | ## TODO: cross compile: the following won't work. | |||
24 | SPARCV9=`isainfo -n 2>&1 | grep sparcv9` | |||
25 | @@ -457,9 +458,6 @@ AC_DEFUN([AC_CHECK_STRICT_COMPILE], | |||
26 | if test "$GCC" = yes | |||
27 | then | |||
28 | case "${host}" in | |||
29 | - *-*-solaris*) | |||
30 | - # Don't use -std=c99 option on Solaris/GCC | |||
31 | - ;; | |||
32 | *) | |||
33 | # Do not use -ansi. It limits us to C90, and it breaks some platforms. | |||
34 | # We use -std=c99 to disable the gnu99 defaults and its associated warnings |
@@ -1,13 +1,13 @@ | @@ -1,13 +1,13 @@ | |||
1 | $NetBSD: patch-af,v 1.13 2013/10/19 08:47:36 adam Exp $ | 1 | $NetBSD: patch-af,v 1.14 2014/10/07 16:09:53 adam Exp $ | |
2 | 2 | |||
3 | --- runConfigureICU.orig 2013-10-04 20:54:58.000000000 +0000 | 3 | --- runConfigureICU.orig 2014-10-03 16:18:36.000000000 +0000 | |
4 | +++ runConfigureICU | 4 | +++ runConfigureICU | |
5 | @@ -315,7 +315,7 @@ case $platform in | 5 | @@ -327,7 +327,7 @@ case $platform in | |
6 | CXXFLAGS="--std=c++03" | 6 | DEBUG_CXXFLAGS='-Zi -MDd' | |
7 | export CXXFLAGS | 7 | DEBUG_LDFLAGS='-DEBUG' | |
8 | ;; | 8 | ;; | |
9 | - *BSD) | 9 | - *BSD) | |
10 | + *BSD | DragonFly) | 10 | + *BSD | DragonFly) | |
11 | THE_OS="BSD" | 11 | THE_OS="BSD" | |
12 | THE_COMP="the GNU C++" | 12 | THE_COMP="the GNU C++" | |
13 | CC=gcc; export CC | 13 | DEBUG_CFLAGS='-g -O0' |
@@ -1,49 +1,29 @@ | @@ -1,49 +1,29 @@ | |||
1 | $NetBSD: patch-configure,v 1.5 2014/07/18 10:28:11 ryoon Exp $ | 1 | $NetBSD: patch-configure,v 1.6 2014/10/07 16:09:53 adam Exp $ | |
2 | 2 | |||
3 | Portability fix. | 3 | Portability fix. | |
4 | Solaris seems to need -std=c99 with recent pkgsrc so keep it | 4 | Solaris seems to need -std=c99 with recent pkgsrc so keep it. | |
5 | and at the same time fix a typo involving CXXFLAGS. | |||
6 | 5 | |||
7 | --- configure.orig 2013-12-09 17:32:25.000000000 +0000 | 6 | --- configure.orig 2014-10-03 16:18:36.000000000 +0000 | |
8 | +++ configure | 7 | +++ configure | |
9 | @@ -4083,9 +4083,6 @@ $as_echo "$ac_use_strict_options" >&6; } | 8 | @@ -5172,6 +5172,7 @@ rm -f core conftest.err conftest.$ac_obj | |
10 | if test "$GCC" = yes | |||
11 | then | |||
12 | case "${host}" in | |||
13 | - *-*-solaris*) | |||
14 | - # Don't use -std=c99 option on Solaris/GCC | |||
15 | - ;; | |||
16 | *) | |||
17 | # Do not use -ansi. It limits us to C90, and it breaks some platforms. | |||
18 | # We use -std=c99 to disable the gnu99 defaults and its associated warnings | |||
19 | @@ -4578,7 +4575,7 @@ fi | |||
20 | if test "$CAN_BUILD_64" != yes; then | |||
21 | # Nope. back out changes. | |||
22 | CFLAGS="${CFLAGS_OLD}" | |||
23 | - CXXFLAGS="${CFLAGS_OLD}" | |||
24 | + CXXFLAGS="${CXXFLAGS_OLD}" | |||
25 | # 2. try xarch=v9 [deprecated] | |||
26 | ## TODO: cross compile: the following won't work. | |||
27 | SPARCV9=`isainfo -n 2>&1 | grep sparcv9` | |||
28 | @@ -4942,6 +4939,7 @@ rm -f core conftest.err conftest.$ac_obj | |||
29 | *-dec-osf*) icu_cv_host_frag=mh-alpha-osf ;; | 9 | *-dec-osf*) icu_cv_host_frag=mh-alpha-osf ;; | |
30 | *-*-nto*) icu_cv_host_frag=mh-qnx ;; | 10 | *-*-nto*) icu_cv_host_frag=mh-qnx ;; | |
31 | *-ncr-*) icu_cv_host_frag=mh-mpras ;; | 11 | *-ncr-*) icu_cv_host_frag=mh-mpras ;; | |
32 | +-*-sco3.2v5*) icu_cv_host_frag=mh-scoosr5 ;; | 12 | +-*-sco3.2v5*) icu_cv_host_frag=mh-scoosr5 ;; | |
33 | *) icu_cv_host_frag=mh-unknown ;; | 13 | *) icu_cv_host_frag=mh-unknown ;; | |
34 | esac | 14 | esac | |
35 | 15 | |||
36 | @@ -5452,6 +5450,29 @@ if test "x$ac_cv_header_elf_h" = "xyes"; | 16 | @@ -5682,6 +5683,29 @@ if test "x$ac_cv_header_elf_h" = "xyes"; | |
37 | CONFIG_CPPFLAGS="$CONFIG_CPPFLAGS -DU_HAVE_ELF_H=1"; | 17 | CONFIG_CPPFLAGS="$CONFIG_CPPFLAGS -DU_HAVE_ELF_H=1"; | |
38 | fi | 18 | fi | |
39 | 19 | |||
40 | +# check if sys/atomic.h is present. | 20 | +# check if sys/atomic.h is present. | |
41 | +for ac_header in sys/atomic.h | 21 | +for ac_header in sys/atomic.h | |
42 | +do : | 22 | +do : | |
43 | + ac_fn_c_check_header_mongrel "$LINENO" "sys/atomic.h" "ac_cv_header_sys_atomic_h" "$ac_includes_default" | 23 | + ac_fn_c_check_header_mongrel "$LINENO" "sys/atomic.h" "ac_cv_header_sys_atomic_h" "$ac_includes_default" | |
44 | +if test "x$ac_cv_header_sys_atomic_h" = xyes; then : | 24 | +if test "x$ac_cv_header_sys_atomic_h" = xyes; then : | |
45 | + cat >>confdefs.h <<_ACEOF | 25 | + cat >>confdefs.h <<_ACEOF | |
46 | +#define HAVE_SYS_ATOMIC_H 1 | 26 | +#define HAVE_SYS_ATOMIC_H 1 | |
47 | +_ACEOF | 27 | +_ACEOF | |
48 | + | 28 | + | |
49 | +fi | 29 | +fi | |
@@ -53,27 +33,27 @@ and at the same time fix a typo involvin | @@ -53,27 +33,27 @@ and at the same time fix a typo involvin | |||
53 | +case "${host}" in | 33 | +case "${host}" in | |
54 | +*-netbsd*) | 34 | +*-netbsd*) | |
55 | +if test "x$ac_cv_header_sys_atomic_h" = "xyes"; then | 35 | +if test "x$ac_cv_header_sys_atomic_h" = "xyes"; then | |
56 | + CONFIG_CPPFLAGS="$CONFIG_CPPFLAGS -DU_HAVE_NETBSD_ATOMIC_OPS=1"; | 36 | + CONFIG_CPPFLAGS="$CONFIG_CPPFLAGS -DU_HAVE_NETBSD_ATOMIC_OPS=1"; | |
57 | +fi | 37 | +fi | |
58 | +;; | 38 | +;; | |
59 | +*) | 39 | +*) | |
60 | +;; | 40 | +;; | |
61 | +esac | 41 | +esac | |
62 | + | 42 | + | |
63 | U_ENABLE_DYLOAD=1 | 43 | U_ENABLE_DYLOAD=1 | |
64 | enable=yes | 44 | enable=yes | |
65 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable dynamic loading of plugins" >&5 | 45 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable dynamic loading of plugins" >&5 | |
66 | @@ -7442,13 +7463,13 @@ fi | 46 | @@ -7691,13 +7715,13 @@ fi | |
67 | # Now that we're done using CPPFLAGS etc. for tests, we can change it | 47 | # Now that we're done using CPPFLAGS etc. for tests, we can change it | |
68 | # for build. | 48 | # for build. | |
69 | 49 | |||
70 | -if test "${CC}" == "clang"; then | 50 | -if test "${CC}" == "clang"; then | |
71 | +if test "${CC}" = "clang"; then | 51 | +if test "${CC}" = "clang"; then | |
72 | CLANGCFLAGS="-Qunused-arguments -Wno-parentheses-equality" | 52 | CLANGCFLAGS="-Qunused-arguments -Wno-parentheses-equality" | |
73 | else | 53 | else | |
74 | CLANGCFLAGS="" | 54 | CLANGCFLAGS="" | |
75 | fi | 55 | fi | |
76 | 56 | |||
77 | -if test "${CXX}" == "clang++"; then | 57 | -if test "${CXX}" == "clang++"; then | |
78 | +if test "${CXX}" = "clang++"; then | 58 | +if test "${CXX}" = "clang++"; then | |
79 | CLANGCXXFLAGS="-Qunused-arguments -Wno-parentheses-equality" | 59 | CLANGCXXFLAGS="-Qunused-arguments -Wno-parentheses-equality" |