1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-06-20 04:00:41 -04:00
ports/lang/v8-devel/files/patch-src_runtime.cc
Jan Beich 87323558b3 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
2017-09-14 21:46:30 +00:00

10 lines
290 B
C++

--- 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"