diff options
author | jbeich <jbeich@FreeBSD.org> | 2018-10-20 08:44:19 +0800 |
---|---|---|
committer | jbeich <jbeich@FreeBSD.org> | 2018-10-20 08:44:19 +0800 |
commit | 924ec71e780e5efa8de4dc3b2e6557b85146d2fc (patch) | |
tree | c50e20d734e5b731740ee8e148c609104d0862e8 | |
parent | 459fd559e8e42c77984760588aed688cae274e7c (diff) | |
download | freebsd-ports-gnome-924ec71e780e5efa8de4dc3b2e6557b85146d2fc.tar.gz freebsd-ports-gnome-924ec71e780e5efa8de4dc3b2e6557b85146d2fc.tar.zst freebsd-ports-gnome-924ec71e780e5efa8de4dc3b2e6557b85146d2fc.zip |
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)
-rw-r--r-- | multimedia/subtitlecomposer-kde4/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/multimedia/subtitlecomposer-kde4/Makefile b/multimedia/subtitlecomposer-kde4/Makefile index a5d3c9fa14b0..a67ef5d03f8b 100644 --- a/multimedia/subtitlecomposer-kde4/Makefile +++ b/multimedia/subtitlecomposer-kde4/Makefile @@ -18,6 +18,7 @@ USES= cmake:outsource gettext kde:4 qt:4 shared-mime-info 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 |