Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Oct 2018 19:44:06 +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: r482453 - head/textproc/ibus-qt
Message-ID:  <201810191944.w9JJi64P023712@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Fri Oct 19 19:44:06 2018
New Revision: 482453
URL: https://svnweb.freebsd.org/changeset/ports/482453

Log:
  textproc/ibus-qt: unbreak with ICU 63 on FreeBSD < 11.2
  
  In file included from qtim/ibus-input-context.cpp:43:
  In file included from /usr/local/include/unicode/unorm.h:25:
  In file included from /usr/local/include/unicode/unorm2.h:34:
  /usr/local/include/unicode/localpointer.h:221:34: warning: rvalue references are a C++11 extension [-Wc++11-extensions]
      LocalPointer(LocalPointer<T> &&src) U_NOEXCEPT : LocalPointerBase<T>(src.ptr) {
                                   ^
  /usr/local/include/unicode/localpointer.h:221:40: error: expected ';' at end of declaration list
      LocalPointer(LocalPointer<T> &&src) U_NOEXCEPT : LocalPointerBase<T>(src.ptr) {
                                         ^
                                         ;
  /usr/local/include/unicode/localpointer.h:366:30: warning: rvalue references are a C++11 extension [-Wc++11-extensions]
      LocalArray(LocalArray<T> &&src) U_NOEXCEPT : LocalPointerBase<T>(src.ptr) {
                               ^
  /usr/local/include/unicode/localpointer.h:366:36: error: expected ';' at end of declaration list
      LocalArray(LocalArray<T> &&src) U_NOEXCEPT : LocalPointerBase<T>(src.ptr) {
                                     ^
                                     ;
  In file included from qtim/ibus-input-context.cpp:43:
  In file included from /usr/local/include/unicode/unorm.h:25:
  In file included from /usr/local/include/unicode/unorm2.h:36:
  /usr/local/include/unicode/uset.h:330:1: warning: rvalue references are a C++11 extension [-Wc++11-extensions]
  U_DEFINE_LOCAL_OPEN_POINTER(LocalUSetPointer, USet, uset_close);
  ^
  /usr/local/include/unicode/localpointer.h:493:53: note: expanded from macro 'U_DEFINE_LOCAL_OPEN_POINTER'
          LocalPointerClassName(LocalPointerClassName &&src) U_NOEXCEPT \
                                                      ^
  In file included from qtim/ibus-input-context.cpp:43:
  In file included from /usr/local/include/unicode/unorm.h:25:
  In file included from /usr/local/include/unicode/unorm2.h:36:
  /usr/local/include/unicode/uset.h:330:1: error: expected ';' at end of declaration list
  /usr/local/include/unicode/localpointer.h:493:60: note: expanded from macro 'U_DEFINE_LOCAL_OPEN_POINTER'
          LocalPointerClassName(LocalPointerClassName &&src) U_NOEXCEPT \
                                                             ^
  /usr/local/include/unicode/platform.h:503:23: note: expanded from macro 'U_NOEXCEPT'
   #   define U_NOEXCEPT noexcept
                         ^
  In file included from qtim/ibus-input-context.cpp:43:
  In file included from /usr/local/include/unicode/unorm.h:25:
  /usr/local/include/unicode/unorm2.h:261:1: warning: rvalue references are a C++11 extension [-Wc++11-extensions]
  U_DEFINE_LOCAL_OPEN_POINTER(LocalUNormalizer2Pointer, UNormalizer2, unorm2_close);
  ^
  /usr/local/include/unicode/localpointer.h:493:53: note: expanded from macro 'U_DEFINE_LOCAL_OPEN_POINTER'
          LocalPointerClassName(LocalPointerClassName &&src) U_NOEXCEPT \
                                                      ^
  In file included from qtim/ibus-input-context.cpp:43:
  In file included from /usr/local/include/unicode/unorm.h:25:
  /usr/local/include/unicode/unorm2.h:261:1: error: expected ';' at end of declaration list
  /usr/local/include/unicode/localpointer.h:493:60: note: expanded from macro 'U_DEFINE_LOCAL_OPEN_POINTER'
          LocalPointerClassName(LocalPointerClassName &&src) U_NOEXCEPT \
                                                             ^
  /usr/local/include/unicode/platform.h:503:23: note: expanded from macro 'U_NOEXCEPT'
   #   define U_NOEXCEPT noexcept
                         ^
  qtim/ibus-input-context.cpp:540:13: warning: 'unorm_normalize' is deprecated [-Wdeprecated-declarations]
          i = unorm_normalize (combination_buffer, m_n_compose, UNORM_NFC, 0, result, IBUS_MAX_COMPOSE_LEN + 1, &state);
              ^
  /usr/local/include/unicode/unorm.h:214:1: note: 'unorm_normalize' declared here
  unorm_normalize(const UChar *source, int32_t sourceLength,
  ^
  
  Regressed by:	https://github.com/unicode-org/icu/commit/35ce5296c1d3
  PR:		232300
  Reported by:	antoine (via exp-run)

Modified:
  head/textproc/ibus-qt/Makefile   (contents, props changed)

Modified: head/textproc/ibus-qt/Makefile
==============================================================================
--- head/textproc/ibus-qt/Makefile	Fri Oct 19 19:27:11 2018	(r482452)
+++ head/textproc/ibus-qt/Makefile	Fri Oct 19 19:44:06 2018	(r482453)
@@ -22,7 +22,7 @@ LIB_DEPENDS=	libdbus-1.so:devel/dbus \
 GH_ACCOUNT=	ibus
 
 USE_QT=		gui dbus moc_build qmake_build moc_build uic_build rcc_build
-USES=		cmake compiler:c++11-lib pkgconfig qt:4
+USES=		cmake compiler:c++14-lang pkgconfig qt:4
 CMAKE_ARGS=	-DDOCDIR=${PREFIX}/share/doc/ibus-qt -DLIBDIR=lib
 USE_LDCONFIG=	yes
 CFLAGS+=	-I${LOCALBASE}/include



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