[Bug 227042] devel/icu: update to 61.1

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Apr 4 10:12:06 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227042

--- Comment #15 from commit-hook at freebsd.org ---
A commit references this bug:

Author: jbeich
Date: Wed Apr  4 10:11:14 UTC 2018
New revision: 466415
URL: https://svnweb.freebsd.org/changeset/ports/466415

Log:
  games/0ad: unbreak with ICU 61

  In file included from ../../../source/lobby/XmppClient.cpp:26:
  ../../../source/i18n/L10n.h:89:2: error: unknown type name 'Locale'; did you
mean 'icu::Locale'?
          Locale GetCurrentLocale() const;
          ^~~~~~
          icu::Locale
  /usr/local/include/unicode/unistr.h:77:7: note: 'icu::Locale' declared here
  class Locale;               // unicode/locid.h
        ^
  In file included from ../../../source/lobby/XmppClient.cpp:26:
  ../../../source/i18n/L10n.h:133:24: error: unknown type name 'Locale'; did
you mean 'icu::Locale'?
          bool SaveLocale(const Locale& locale) const;
                                ^~~~~~
                                icu::Locale
  /usr/local/include/unicode/unistr.h:77:7: note: 'icu::Locale' declared here
  class Locale;               // unicode/locid.h
        ^
  In file included from ../../../source/lobby/XmppClient.cpp:26:
  ../../../source/i18n/L10n.h:235:54: error: unknown type name 'Locale'; did
you mean 'icu::Locale'?
          std::wstring GetFallbackToAvailableDictLocale(const Locale& locale)
const;
                                                              ^~~~~~
                                                              icu::Locale
  /usr/local/include/unicode/unistr.h:77:7: note: 'icu::Locale' declared here
  class Locale;               // unicode/locid.h
        ^
  In file included from ../../../source/lobby/XmppClient.cpp:26:
  ../../../source/i18n/L10n.h:283:66: error: unknown type name 'Locale'; did
you mean 'icu::Locale'?
          void GetDictionaryLocale(const std::string& configLocaleString,
Locale& outLocale) const;
                                                                         
^~~~~~
                                                                         
icu::Locale
  /usr/local/include/unicode/unistr.h:77:7: note: 'icu::Locale' declared here
  class Locale;               // unicode/locid.h
        ^
  In file included from ../../../source/lobby/XmppClient.cpp:26:
  ../../../source/i18n/L10n.h:314:28: error: unknown type name 'Locale'; did
you mean 'icu::Locale'?
          bool ValidateLocale(const Locale& locale) const;
                                    ^~~~~~
                                    icu::Locale
  /usr/local/include/unicode/unistr.h:77:7: note: 'icu::Locale' declared here
  class Locale;               // unicode/locid.h
        ^
  In file included from ../../../source/lobby/XmppClient.cpp:26:
  ../../../source/i18n/L10n.h:411:98: error: unknown type name 'Locale'; did
you mean 'icu::Locale'?
          UDate ParseDateTime(const std::string& dateTimeString, const
std::string& dateTimeFormat, const Locale& locale) const;
                                                                               
                          ^~~~~~
                                                                               
                          icu::Locale
  /usr/local/include/unicode/unistr.h:77:7: note: 'icu::Locale' declared here
  class Locale;               // unicode/locid.h
        ^
  In file included from ../../../source/lobby/XmppClient.cpp:26:
  ../../../source/i18n/L10n.h:427:85: error: use of undeclared identifier
'DateFormat'; did you mean 'icu::DateFormat'?
          std::string LocalizeDateTime(const UDate dateTime, const
DateTimeType& type, const DateFormat::EStyle& style) const;
                                                                               
             ^~~~~~~~~~
                                                                               
             icu::DateFormat
  /usr/local/include/unicode/smpdtfmt.h:46:7: note: 'icu::DateFormat' declared
here
  class DateFormat;
        ^
  In file included from ../../../source/lobby/XmppClient.cpp:26:
  ../../../source/i18n/L10n.h:508:2: error: unknown type name 'Locale'; did you
mean 'icu::Locale'?
          Locale currentLocale;
          ^~~~~~
          icu::Locale
  /usr/local/include/unicode/unistr.h:77:7: note: 'icu::Locale' declared here
  class Locale;               // unicode/locid.h
        ^
  In file included from ../../../source/lobby/XmppClient.cpp:26:
  ../../../source/i18n/L10n.h:519:14: error: use of undeclared identifier
'Locale'
          std::vector<Locale*> availableLocales;
                      ^
  ../../../source/i18n/L10n.h:519:21: error: expected expression
          std::vector<Locale*> availableLocales;
                             ^
  ../../../source/i18n/L10n.h:590:2: error: unknown type name 'DateFormat'; did
you mean 'UDateFormat'?
          DateFormat* CreateDateTimeInstance(const DateTimeType& type, const
DateFormat::EStyle& style, const Locale& locale) const;
          ^~~~~~~~~~
          UDateFormat
  /usr/local/include/unicode/udat.h:153:15: note: 'UDateFormat' declared here
  typedef void* UDateFormat;
                ^
  In file included from ../../../source/lobby/XmppClient.cpp:26:
  ../../../source/i18n/L10n.h:590:69: error: use of undeclared identifier
'DateFormat'; did you mean 'icu::DateFormat'?
          DateFormat* CreateDateTimeInstance(const DateTimeType& type, const
DateFormat::EStyle& style, const Locale& locale) const;
                                                                            
^~~~~~~~~~
                                                                            
icu::DateFormat
  /usr/local/include/unicode/smpdtfmt.h:46:7: note: 'icu::DateFormat' declared
here
  class DateFormat;
        ^
  In file included from ../../../source/lobby/XmppClient.cpp:26:
  ../../../source/i18n/L10n.h:590:102: error: unknown type name 'Locale'; did
you mean 'icu::Locale'?
          DateFormat* CreateDateTimeInstance(const DateTimeType& type, const
DateFormat::EStyle& style, const Locale& locale) const;
                                                                               
                              ^~~~~~
                                                                               
                              icu::Locale
  /usr/local/include/unicode/unistr.h:77:7: note: 'icu::Locale' declared here
  class Locale;               // unicode/locid.h
        ^
  ../../../source/lobby/XmppClient.cpp:948:81: error: use of undeclared
identifier 'Locale'; did you mean 'icu::Locale'?
          return g_L10n.ParseDateTime(msg.when()->stamp().to_string(),
"Y-M-d'T'H:m:sZ", Locale::getUS()) / 1000.0;
                                                                               
         ^~~~~~
                                                                               
         icu::Locale
  /usr/local/include/unicode/unistr.h:77:7: note: 'icu::Locale' declared here
  class Locale;               // unicode/locid.h
        ^

  https://ssl.icu-project.org/trac/changeset/40705

  PR:           227042
  Reported by:  antoine (via exp-run)

Changes:
  head/games/0ad/Makefile

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-office mailing list