Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Sep 2017 21:46:30 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r449857 - in head/lang/v8-devel: . files
Message-ID:  <201709142146.v8ELkUR9028399@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Thu Sep 14 21:46:30 2017
New Revision: 449857
URL: https://svnweb.freebsd.org/changeset/ports/449857

Log:
  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

Added:
  head/lang/v8-devel/files/patch-src_runtime.cc   (contents, props changed)
Modified:
  head/lang/v8-devel/Makefile   (contents, props changed)

Modified: head/lang/v8-devel/Makefile
==============================================================================
--- head/lang/v8-devel/Makefile	Thu Sep 14 21:31:17 2017	(r449856)
+++ head/lang/v8-devel/Makefile	Thu Sep 14 21:46:30 2017	(r449857)
@@ -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
 

Added: head/lang/v8-devel/files/patch-src_runtime.cc
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/lang/v8-devel/files/patch-src_runtime.cc	Thu Sep 14 21:46:30 2017	(r449857)
@@ -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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201709142146.v8ELkUR9028399>