Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Oct 2018 00:44:19 +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: r482461 - head/multimedia/subtitlecomposer-kde4
Message-ID:  <201810200044.w9K0iJPb077197@repo.freebsd.org>

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

Log:
  multimedia/subtitlecomposer-kde4: unbreak with ICU 63
  
  In file included from src/formats/formatmanager.cpp:54:
  In file included from /usr/local/include/unicode/ucsdet.h:28:
  /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 src/formats/formatmanager.cpp:54:
  In file included from /usr/local/include/unicode/ucsdet.h:29:
  /usr/local/include/unicode/uenum.h:68:1: warning: rvalue references are a C++11 extension [-Wc++11-extensions]
  U_DEFINE_LOCAL_OPEN_POINTER(LocalUEnumerationPointer, UEnumeration, uenum_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 src/formats/formatmanager.cpp:54:
  In file included from /usr/local/include/unicode/ucsdet.h:29:
  /usr/local/include/unicode/uenum.h:68: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 src/formats/formatmanager.cpp:54:
  /usr/local/include/unicode/ucsdet.h:106:1: warning: rvalue references are a C++11 extension [-Wc++11-extensions]
  U_DEFINE_LOCAL_OPEN_POINTER(LocalUCharsetDetectorPointer, UCharsetDetector, ucsdet_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 src/formats/formatmanager.cpp:54:
  /usr/local/include/unicode/ucsdet.h:106: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
                         ^
  
  Regressed by:	https://github.com/unicode-org/icu/commit/35ce5296c1d3
  PR:		232300
  Reported by:	antoine (via exp-run)

Modified:
  head/multimedia/subtitlecomposer-kde4/Makefile   (contents, props changed)

Modified: head/multimedia/subtitlecomposer-kde4/Makefile
==============================================================================
--- head/multimedia/subtitlecomposer-kde4/Makefile	Sat Oct 20 00:44:06 2018	(r482460)
+++ head/multimedia/subtitlecomposer-kde4/Makefile	Sat Oct 20 00:44:19 2018	(r482461)
@@ -18,6 +18,7 @@ USES=		cmake:outsource gettext kde:4 qt:4 shared-mime-
 USE_KDE=	kdelibs automoc4
 USE_QT=		qmake_build moc_build rcc_build uic_build phonon
 USE_CXXSTD=	gnu++98
+CXXFLAGS+=	-DU_NOEXCEPT= # For USE_CXXSTD=gnu++98
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	maxrd2



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