9b6de638b5
Changelog: Common Changes Unicode 12: 554 new characters, including 4 new scripts and 61 new emoji characters. CLDR 35 Somali and Javanese data now up to modern level Cebuano, Hausa, Igbo, and Yoruba data now up to basic level 23 additional measurement units Many data additions and corrections in many other languages The following language has been added to ICU: Cebuano This version of ICU does not yet implement the Indic Grapheme Cluster improvements from CLDR 35. New Japanese calendar era from 2019: CLDR and ICU include data for testing that can be enabled. (ICU #12973, CLDR #10750) To enable CLDR new Japanese era placeholder name, set environment variable (and Java system property for ICU4J) ICU_ENABLE_TENTATIVE_ERA=true (This was added in ICU 63). Support added for Gannen year numbering (using 元 for the first year of an era) in the Japanese locale Japanese-calendar full, long, and medium formats. Gannen year support is also automatically added for other non-numeric formats (those containing other kanji characters such as 年) derived from pattern skeletons unless specifically overridden. (ICU #20441, CLDR #11843, CLDR #11819) We are planning for an ICU 64.2 update in 2019-April which will add the new Japanese era with its real name. ICU 64 now uses "rearguard" TZ data. (Recent versions have used "vanguard" data with certain overrides.) (ICU-20398) ICU data filtering: The ICU4C build accepts an optional filter script that specifies a subset of the data to be built, with whitelists and blacklists for locales and for resource bundle paths. (ICU-10923, design doc) See this new documentation page: userguide/icu_data/buildtool.md MessageFormat has new pattern syntax for specifying the style of a date/time argument via a locale-independent skeleton rather than a locale-specific pattern. (ICU-9622) Date/time skeletons use the same "::" prefix as number skeletons. Example MessageFormat pattern string: "We close on {closing,date,::MMMMd} at {closing,time,::jm}." Many formatting APIs can now output a new type of result object which is-a FormattedValue (Java & C++), or convertible to a UFormattedValue (C). These combine the result strings with easy iteration over FieldPosition metadata. ICU4C Specific Changes New C++ class LocaleBuilder for building a Locale from subtags, keywords, and extensions. (ICU-20328) Parallel to the existing ICU4J ULocale.Builder class. For C++ MeasureUnit instances, there are now additional factory methods that return units by value, not by pointer-with-ownership. (ICU-20337) Various Out-Of-Memory (OOM) issues have been fixed. (ticket query)
78 lines
2.3 KiB
Text
78 lines
2.3 KiB
Text
$NetBSD: patch-configure,v 1.10 2019/04/03 00:13:00 ryoon Exp $
|
|
|
|
Portability fix.
|
|
Solaris seems to need -std=c99 with recent pkgsrc so keep it.
|
|
don't throw away -std=c++11 on solaris unconditionally, it's
|
|
required.
|
|
Add support for Bitrig.
|
|
|
|
--- configure.orig 2019-03-27 18:47:14.000000000 +0000
|
|
+++ configure
|
|
@@ -5242,7 +5242,7 @@ rm -f core conftest.err conftest.$ac_obj
|
|
*-*-cygwin) icu_cv_host_frag=mh-cygwin-msvc ;;
|
|
esac
|
|
fi ;;
|
|
-*-*-*bsd*|*-*-dragonfly*) icu_cv_host_frag=mh-bsd-gcc ;;
|
|
+*-*-*bsd*|*-*-dragonfly*|*-*-bitrig*) icu_cv_host_frag=mh-bsd-gcc ;;
|
|
*-*-aix*)
|
|
if test "$GCC" = yes; then
|
|
icu_cv_host_frag=mh-aix-gcc
|
|
@@ -5267,6 +5267,7 @@ rm -f core conftest.err conftest.$ac_obj
|
|
*-dec-osf*) icu_cv_host_frag=mh-alpha-osf ;;
|
|
*-*-nto*) icu_cv_host_frag=mh-qnx ;;
|
|
*-ncr-*) icu_cv_host_frag=mh-mpras ;;
|
|
+-*-sco3.2v5*) icu_cv_host_frag=mh-scoosr5 ;;
|
|
*) icu_cv_host_frag=mh-unknown ;;
|
|
esac
|
|
|
|
@@ -5875,6 +5876,29 @@ if test "x$plugins" = "xtrue"; then
|
|
fi
|
|
|
|
|
|
+# check if sys/atomic.h is present.
|
|
+for ac_header in sys/atomic.h
|
|
+do :
|
|
+ ac_fn_c_check_header_mongrel "$LINENO" "sys/atomic.h" "ac_cv_header_sys_atomic_h" "$ac_includes_default"
|
|
+if test "x$ac_cv_header_sys_atomic_h" = xyes; then :
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
+#define HAVE_SYS_ATOMIC_H 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+
|
|
+done
|
|
+
|
|
+case "${host}" in
|
|
+*-netbsd*)
|
|
+if test "x$ac_cv_header_sys_atomic_h" = "xyes"; then
|
|
+ CONFIG_CPPFLAGS="$CONFIG_CPPFLAGS -DU_HAVE_NETBSD_ATOMIC_OPS=1";
|
|
+fi
|
|
+;;
|
|
+*)
|
|
+;;
|
|
+esac
|
|
+
|
|
U_ENABLE_DYLOAD=1
|
|
enable=yes
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable dynamic loading of plugins. Ignored if plugins disabled." >&5
|
|
@@ -6088,11 +6112,6 @@ $as_echo "$as_me: Adding CXXFLAGS option
|
|
else
|
|
CXXFLAGS="$OLD_CXXFLAGS"
|
|
fi
|
|
- case "${host}" in
|
|
- *-*-solaris*)
|
|
- CXXFLAGS="$OLD_CXXFLAGS"
|
|
- ;;
|
|
- esac
|
|
fi
|
|
fi
|
|
|
|
@@ -7819,7 +7838,7 @@ ICUDATA_CHAR=$U_ENDIAN_CHAR
|
|
case "${host}" in
|
|
*-*-solaris*) platform=U_SOLARIS ;;
|
|
*-*-linux*|*-*-gnu|*-*-k*bsd*-gnu|*-*-kopensolaris*-gnu) platform=U_LINUX ;;
|
|
- *-*-*bsd*|*-*-dragonfly*) platform=U_BSD ;;
|
|
+ *-*-*bsd*|*-*-dragonfly*|*-*-bitrig*) platform=U_BSD ;;
|
|
*-*-aix*) platform=U_AIX ;;
|
|
*-*-hpux*) platform=U_HPUX ;;
|
|
*-apple-darwin*|*-apple-rhapsody*) platform=U_DARWIN ;;
|