From 43ec5d91b844b6d621fb6585c81fd9b05fee8153 Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Thu, 13 Oct 2016 13:30:52 +0000 Subject: emulators/citra: unbreak on < 10.2 after r423781 USES=compiler cannot pull newer C++14 compatible libc++ version. In file included from externals/dynarmic/src/frontend/disassembler/disassembler_arm.cpp:15: In file included from externals/dynarmic/src/./frontend/decoder/arm.h:18: In file included from externals/dynarmic/src/./frontend/decoder/decoder_detail.h:14: externals/dynarmic/src/./common/mp.h:34:27: fatal error: no template named 'tuple_element_t' in namespace 'std'; did you mean 'tuple_element'? using type = std::tuple_element_t>; ~~~~~^~~~~~~~~~~~~~~ tuple_element /usr/include/c++/v1/__tuple:44:62: note: 'tuple_element' declared here template class _LIBCPP_TYPE_VIS_ONLY tuple_element; ^ Reported by: pkg-fallout --- emulators/citra/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'emulators') diff --git a/emulators/citra/Makefile b/emulators/citra/Makefile index dfed166c265e..d4f6b3eb4d7b 100644 --- a/emulators/citra/Makefile +++ b/emulators/citra/Makefile @@ -36,6 +36,8 @@ USES= cmake:outsource compiler:c++14-lang iconv localbase:ldflags FAVORITE_COMPILER= ${COMPILER_TYPE} # c++14-lib CXXFLAGS+= -D_GLIBCXX_USE_C99 -D_GLIBCXX_USE_C99_MATH_TR1 \ -D_DECLARE_C99_LDBL_MATH # XXX ports/193528 +CXXFLAGS+= ${CXXFLAGS_${OPSYS}_${OSREL}} +CXXFLAGS_FreeBSD_10.1= -Dtuple_element_t=tuple_element # libcxx r202673 (c++14) LDFLAGS+= -Wl,--as-needed # GL OPTIONS_MULTI= GUI -- cgit v1.2.3