[Bug 218788] devel/icu: Update to 59.1

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Sep 21 17:56:14 UTC 2017


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

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

Author: tobik
Date: Thu Sep 21 17:55:30 UTC 2017
New revision: 450296
URL: https://svnweb.freebsd.org/changeset/ports/450296

Log:
  java/openjfx8-devel: Unbreak build with ICU 59.1

  modules/web/src/main/native/Source/JavaScriptCore/API/JSStringRef.cpp:40:13:
error: no matching function for call to 'create'
      return &OpaqueJSString::create(chars, numChars).leakRef();
              ^~~~~~~~~~~~~~~~~~~~~~
  modules/web/src/main/native/Source/JavaScriptCore/API/OpaqueJSString.h:48:32:
note: candidate function not viable: no known conversion from 'const JSChar *'
(aka 'const unsigned short *') to 'const LChar *' (aka 'const unsigned char *')
for 1st argument
      static Ref<OpaqueJSString> create(const LChar* characters, unsigned
length)
                                 ^
  modules/web/src/main/native/Source/JavaScriptCore/API/OpaqueJSString.h:53:32:
note: candidate function not viable: no known conversion from 'const JSChar *'
(aka 'const unsigned short *') to 'const UChar *' (aka 'const char16_t *') for
1st argument
      static Ref<OpaqueJSString> create(const UChar* characters, unsigned
length)
                                 ^
  modules/web/src/main/native/Source/JavaScriptCore/API/OpaqueJSString.h:43:32:
note: candidate function not viable: requires 0 arguments, but 2 were provided
      static Ref<OpaqueJSString> create()
                                 ^
  modules/web/src/main/native/Source/JavaScriptCore/API/OpaqueJSString.h:58:53:
note: candidate function not viable: requires 1 argument, but 2 were provided
      JS_EXPORT_PRIVATE static RefPtr<OpaqueJSString> create(const String&);
                                                      ^
  modules/web/src/main/native/Source/JavaScriptCore/API/JSStringRef.cpp:65:35:
error: no matching function for call to 'createWithoutCopying'
      return OpaqueJSString::create(StringImpl::createWithoutCopying(chars,
numChars)).leakRef();
                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  modules/web/src/main/native/Source/WTF/wtf/text/StringImpl.h:385:50: note:
candidate function not viable: no known conversion from 'const JSChar *' (aka
'const unsigned short *') to 'const UChar *' (aka 'const char16_t *') for 1st
argument
      WTF_EXPORT_STRING_API static Ref<StringImpl> createWithoutCopying(const
UChar* characters, unsigned length);
                                                   ^
  modules/web/src/main/native/Source/WTF/wtf/text/StringImpl.h:386:50: note:
candidate function not viable: no known conversion from 'const JSChar *' (aka
'const unsigned short *') to 'const LChar *' (aka 'const unsigned char *') for
1st argument
      WTF_EXPORT_STRING_API static Ref<StringImpl> createWithoutCopying(const
LChar* characters, unsigned length);
                                                   ^
  modules/web/src/main/native/Source/JavaScriptCore/API/JSStringRef.cpp:90:12:
error: cannot initialize return object of type 'const JSChar *' (aka 'const
unsigned short *') with an rvalue of type 'const UChar *' (aka 'const char16_t
*')
      return string->characters();
             ^~~~~~~~~~~~~~~~~~~~
  modules/web/src/main/native/Source/WTF/wtf/unicode/java/UnicodeJava.h:21:18:
error: typedef redefinition with different types ('uint16_t' (aka 'unsigned
short') vs 'char16_t')
  typedef uint16_t UChar;
                   ^
  /usr/local/include/unicode/umachine.h:347:22: note: previous definition is
here
      typedef char16_t UChar;

  PR:           218788, 222270
  Submitted by: jbeich
  Reviewed by:  jbeich
  Obtained from:        WebKit (rebased)

Changes:
  head/java/openjfx8-devel/Makefile
  head/java/openjfx8-devel/files/patch-icu59

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


More information about the freebsd-office mailing list