Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 Apr 2018 11:50:26 +0000
From:      bugzilla-noreply@freebsd.org
To:        office@FreeBSD.org
Subject:   [Bug 227042] devel/icu: update to 61.1
Message-ID:  <bug-227042-25061-RqHsdjdY6f@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-227042-25061@https.bugs.freebsd.org/bugzilla/>
References:  <bug-227042-25061@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227042

--- Comment #17 from commit-hook@freebsd.org ---
A commit references this bug:

Author: jbeich
Date: Wed Apr  4 11:50:00 UTC 2018
New revision: 466431
URL: https://svnweb.freebsd.org/changeset/ports/466431

Log:
  editors/libreoffice: unbreak with ICU 61

  i18nutil/source/utility/unicode.cxx:753:21: error: unknown type name
'NumberFormat'; did you mean 'UNumberFormat'?
      std::unique_ptr<NumberFormat> xF(
                      ^~~~~~~~~~~~
                      UNumberFormat
  /usr/local/include/unicode/unum.h:140:15: note: 'UNumberFormat' declared =
here
  typedef void* UNumberFormat;
                ^
  i18nutil/source/utility/unicode.cxx:754:9: error: use of undeclared
identifier 'NumberFormat'; did you mean 'icu::NumberFormat'?
          NumberFormat::createPercentInstance(aLocale, errorCode));
          ^~~~~~~~~~~~
          icu::NumberFormat
  /usr/local/include/unicode/numfmt.h:174:18: note: 'icu::NumberFormat'
declared here
  class U_I18N_API NumberFormat : public Format {
                   ^
  i18nutil/source/utility/unicode.cxx:753:35: error: no matching constructor
for initialization of 'std::unique_ptr<UNumberFormat>' (aka 'unique_ptr<void
*>')
      std::unique_ptr<NumberFormat> xF(
                                    ^
  /usr/include/c++/v1/memory:2425:28: note: candidate constructor (the impl=
icit
copy constructor) not viable: no known conversion from 'icu::NumberFormat *=
' to
'const std::__1::unique_ptr<void *, std::__1::default_delete<void *> >' for=
 1st
argument
  class _LIBCPP_TEMPLATE_VIS unique_ptr
                             ^
  /usr/include/c++/v1/memory:2454:49: note: candidate constructor not viabl=
e:
no known conversion from 'icu::NumberFormat *' to 'nullptr_t' for 1st argum=
ent
      _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR unique_ptr(nullptr_t)
_NOEXCEPT
                                                  ^
  /usr/include/c++/v1/memory:2460:40: note: candidate constructor not viabl=
e:
no known conversion from 'icu::NumberFormat *' to 'pointer' (aka 'void **')=
 for
1st argument
      _LIBCPP_INLINE_VISIBILITY explicit unique_ptr(pointer __p) _NOEXCEPT
                                         ^
  /usr/include/c++/v1/memory:2481:31: note: candidate constructor not viabl=
e:
no known conversion from 'icu::NumberFormat *' to 'std::__1::unique_ptr<voi=
d *,
std::__1::default_delete<void *> >' for 1st argument
      _LIBCPP_INLINE_VISIBILITY unique_ptr(unique_ptr&& __u) _NOEXCEPT
                                ^
  /usr/include/c++/v1/memory:2485:9: note: candidate template ignored: could
not match 'unique_ptr<type-parameter-0-0, type-parameter-0-1>' against
'icu::NumberFormat *'
          unique_ptr(unique_ptr<_Up, _Ep>&& __u,
          ^
  /usr/include/c++/v1/memory:2500:35: note: candidate template ignored: cou=
ld
not match 'auto_ptr<type-parameter-0-0>' against 'icu::NumberFormat *'
          _LIBCPP_INLINE_VISIBILITY unique_ptr(auto_ptr<_Up>&& __p,
                                    ^
  /usr/include/c++/v1/memory:2448:49: note: candidate constructor not viabl=
e:
requires 0 arguments, but 1 was provided
      _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR unique_ptr() _NOEXCEPT
                                                  ^
  /usr/include/c++/v1/memory:2468:31: note: candidate constructor not viabl=
e:
requires 2 arguments, but 1 was provided
      _LIBCPP_INLINE_VISIBILITY unique_ptr(pointer __p, typename conditiona=
l<
                                ^
  /usr/include/c++/v1/memory:2475:31: note: candidate constructor not viabl=
e:
requires 2 arguments, but 1 was provided
      _LIBCPP_INLINE_VISIBILITY unique_ptr(pointer __p, typename
remove_reference<deleter_type>::type&& __d)
                                ^
  i18nutil/source/utility/unicode.cxx:761:5: error: unknown type name
'UnicodeString'; did you mean 'icu::UnicodeString'?
      UnicodeString output;
      ^~~~~~~~~~~~~
      icu::UnicodeString
  /usr/local/include/unicode/unistr.h:286:20: note: 'icu::UnicodeString'
declared here
  class U_COMMON_API UnicodeString : public Replaceable
                     ^

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

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

Changes:
  head/editors/libreoffice/files/patch-icu61

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-227042-25061-RqHsdjdY6f>