pkgsrc/textproc/icu/patches/patch-common_putilimp.h

25 lines
940 B
C
Raw Normal View History

2013-11-05 16:25:37 +01:00
$NetBSD: patch-common_putilimp.h,v 1.4 2013/11/05 15:25:37 ryoon Exp $
* GCC for arm does not have __sync_add_and_fetch() etc.
Changes 52.1: Unicode 6.3: New bidi control codes, new Bidi_Class property values, two new bidi "bracket" properties; for other property value changes see the UAX 44 summary. The bidi algorithm implementation has also been updated to support the new properties and to match the updated algorithm in the Unicode 6.3 version of UAX 9. Note: ICU 52 still uses collation root data based on Unicode Collation Algorithm 6.2 (UCA 6.2). (However, ICU 52 does use CLDR 24 collation tailoring data.) CLDR 24: Improved coverage for top 70+ languages, fractional plural rules and forms, many new measurement units, major simplification of collation rule syntax, preliminary version of European Ordering Rules, new relative fields such as “last Sunday” and “now”, and much more. Time zone data: 2013g. Support new variants of Islamic calendar: "islamic-umalqura": Umm al-Qura. "islamic-tbla": Tabular (fixed intercalary years), with astronomical epoch. Made Calendar getDayOfWeekType behave as documented. New API for converting between Windows time zone ID and IANA tz database ID. Technology Preview: New API for more granular control of DateFormat parse leniency. DateTimePatternGenerator: Support recently-added time zone pattern characters O, X, x and updated support for V, Z. Support newly-defined skeleton character ‘J’ to generate preferred hour cycle without any day period indicator (such as AM/PM for h). Implement support for plurals that depend on displayed fractional values. MessageFormat and currency formatting etc. select appropriate plural forms for values with decimal digits (after the decimal point). Segmentation: Add dictionary-based word & line break for Lao.
2013-10-19 10:47:36 +02:00
--- common/putilimp.h.orig 2013-10-04 20:49:30.000000000 +0000
+++ common/putilimp.h
Changes 52.1: Unicode 6.3: New bidi control codes, new Bidi_Class property values, two new bidi "bracket" properties; for other property value changes see the UAX 44 summary. The bidi algorithm implementation has also been updated to support the new properties and to match the updated algorithm in the Unicode 6.3 version of UAX 9. Note: ICU 52 still uses collation root data based on Unicode Collation Algorithm 6.2 (UCA 6.2). (However, ICU 52 does use CLDR 24 collation tailoring data.) CLDR 24: Improved coverage for top 70+ languages, fractional plural rules and forms, many new measurement units, major simplification of collation rule syntax, preliminary version of European Ordering Rules, new relative fields such as “last Sunday” and “now”, and much more. Time zone data: 2013g. Support new variants of Islamic calendar: "islamic-umalqura": Umm al-Qura. "islamic-tbla": Tabular (fixed intercalary years), with astronomical epoch. Made Calendar getDayOfWeekType behave as documented. New API for converting between Windows time zone ID and IANA tz database ID. Technology Preview: New API for more granular control of DateFormat parse leniency. DateTimePatternGenerator: Support recently-added time zone pattern characters O, X, x and updated support for V, Z. Support newly-defined skeleton character ‘J’ to generate preferred hour cycle without any day period indicator (such as AM/PM for h). Implement support for plurals that depend on displayed fractional values. MessageFormat and currency formatting etc. select appropriate plural forms for values with decimal digits (after the decimal point). Segmentation: Add dictionary-based word & line break for Lao.
2013-10-19 10:47:36 +02:00
@@ -128,6 +128,8 @@ typedef size_t uintptr_t;
/* not defined */
Changes 52.1: Unicode 6.3: New bidi control codes, new Bidi_Class property values, two new bidi "bracket" properties; for other property value changes see the UAX 44 summary. The bidi algorithm implementation has also been updated to support the new properties and to match the updated algorithm in the Unicode 6.3 version of UAX 9. Note: ICU 52 still uses collation root data based on Unicode Collation Algorithm 6.2 (UCA 6.2). (However, ICU 52 does use CLDR 24 collation tailoring data.) CLDR 24: Improved coverage for top 70+ languages, fractional plural rules and forms, many new measurement units, major simplification of collation rule syntax, preliminary version of European Ordering Rules, new relative fields such as “last Sunday” and “now”, and much more. Time zone data: 2013g. Support new variants of Islamic calendar: "islamic-umalqura": Umm al-Qura. "islamic-tbla": Tabular (fixed intercalary years), with astronomical epoch. Made Calendar getDayOfWeekType behave as documented. New API for converting between Windows time zone ID and IANA tz database ID. Technology Preview: New API for more granular control of DateFormat parse leniency. DateTimePatternGenerator: Support recently-added time zone pattern characters O, X, x and updated support for V, Z. Support newly-defined skeleton character ‘J’ to generate preferred hour cycle without any day period indicator (such as AM/PM for h). Implement support for plurals that depend on displayed fractional values. MessageFormat and currency formatting etc. select appropriate plural forms for values with decimal digits (after the decimal point). Segmentation: Add dictionary-based word & line break for Lao.
2013-10-19 10:47:36 +02:00
#elif U_PLATFORM == U_PF_IPHONE
/* not defined */
+#elif defined(__MirBSD__)
+ /* not defined */
#else
# define U_TIMEZONE timezone
#endif
2013-11-05 16:25:37 +01:00
@@ -187,7 +189,7 @@ typedef size_t uintptr_t;
/* Use the predefined value. */
#elif U_PLATFORM == U_PF_MINGW
#define U_HAVE_GCC_ATOMICS 0
-#elif U_GCC_MAJOR_MINOR >= 404 || defined(__clang__)
+#elif (U_GCC_MAJOR_MINOR >= 404 && !defined(__arm__)) || defined(__clang__)
/* TODO: Intel icc and IBM xlc on AIX also support gcc atomics. (Intel originated them.)
* Add them for these compilers.
* Note: Clang sets __GNUC__ defines for version 4.2, so misses the 4.4 test here.