lang/v8-devel: unbreak with ICU >= 59

In file included from ../src/i18n.cc:8:
In file included from /usr/local/include/unicode/brkiter.h:47:
In file included from /usr/local/include/unicode/unistr.h:33:
/usr/local/include/unicode/char16ptr.h:90:19: error: deleted function definitions are a C++11 extension [-Werror,-Wc++11-extensions]
    Char16Ptr() = delete;
                  ^
/usr/local/include/unicode/char16ptr.h:198:24: error: deleted function definitions are a C++11 extension [-Werror,-Wc++11-extensions]
    ConstChar16Ptr() = delete;
                       ^
../src/runtime.cc:14238:3: error: no member named 'Normalizer' in namespace 'icu'; did you mean 'UNormalizer2'?
  icu::Normalizer::normalize(u_value, normalizationForms[form_id], 0,
  ^~~~~~~~~~~~~~~
  UNormalizer2
/usr/local/include/unicode/unorm2.h:119:29: note: 'UNormalizer2' declared here
typedef struct UNormalizer2 UNormalizer2;  /**< C typedef for struct UNormalizer2. @stable ICU 4.4 */
                            ^
../src/runtime.cc:14238:8: error: incomplete type 'UNormalizer2' named in nested name specifier
  icu::Normalizer::normalize(u_value, normalizationForms[form_id], 0,
  ~~~~~^~~~~~~~~~~~
/usr/local/include/unicode/unorm2.h:118:8: note: forward declaration of 'UNormalizer2'
struct UNormalizer2;
       ^

PR:		222269
This commit is contained in:
Jan Beich 2017-09-14 21:46:30 +00:00
parent 7b04c73094
commit 87323558b3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=449857
2 changed files with 11 additions and 1 deletions

View file

@ -23,7 +23,7 @@ ALL_TARGET= native
MAKE_ARGS= library=shared use_system_icu=on
MAKE_ENV= CC.host=${CC} CXX.host=${CXX} LINK.host=${CXX} LINK.target=${CXX}
USE_LDCONFIG= yes
USES= compiler cpe execinfo gmake python:2 shebangfix tar:xz
USES= compiler cpe execinfo gmake localbase python:2 shebangfix tar:xz
CPE_VENDOR= google

View file

@ -0,0 +1,10 @@
--- src/runtime.cc.orig 2014-06-03 08:52:11 UTC
+++ src/runtime.cc
@@ -56,6 +56,7 @@
#include "unicode/dtfmtsym.h"
#include "unicode/dtptngen.h"
#include "unicode/locid.h"
+#include "unicode/normlzr.h"
#include "unicode/numfmt.h"
#include "unicode/numsys.h"
#include "unicode/rbbi.h"