Index: head/devel/googletest/Makefile =================================================================== --- head/devel/googletest/Makefile (revision 333053) +++ head/devel/googletest/Makefile (revision 333054) @@ -1,21 +1,20 @@ # Created by: Cheng-Lung Sung # $FreeBSD$ PORTNAME= googletest PORTVERSION= 1.5.0 CATEGORIES= devel MASTER_SITES= GOOGLE_CODE DISTNAME= gtest-${PORTVERSION} MAINTAINER= clsung@FreeBSD.org COMMENT= A framework for writing C++ tests on a variety of platforms GNU_CONFIGURE= yes USE_LDCONFIG= yes USE_PYTHON_BUILD= yes -NO_STAGE= yes regression-test: cd ${WRKSRC}; ${MAKE} check .include Index: head/devel/googletest/files/patch-include_gtest_internal_gtest-port.h =================================================================== --- head/devel/googletest/files/patch-include_gtest_internal_gtest-port.h (revision 333053) +++ head/devel/googletest/files/patch-include_gtest_internal_gtest-port.h (revision 333054) @@ -1,10 +1,19 @@ ---- include/gtest/internal/gtest-port.h.orig 2010-04-15 22:02:02.000000000 +0000 -+++ include/gtest/internal/gtest-port.h +--- include/gtest/internal/gtest-port.h.orig 2010-04-16 06:02:02.000000000 +0800 ++++ include/gtest/internal/gtest-port.h 2013-10-16 23:39:02.000000000 +0800 @@ -173,6 +173,7 @@ #include #include #include +#include #ifndef _WIN32_WCE #include #endif // !_WIN32_WCE +@@ -399,7 +400,7 @@ + // defining __GNUC__ and friends, but cannot compile GCC's tuple + // implementation. MSVC 2008 (9.0) provides TR1 tuple in a 323 MB + // Feature Pack download, which we cannot assume the user has. +-#if (defined(__GNUC__) && !defined(__CUDACC__) && (GTEST_GCC_VER_ >= 40000)) \ ++#if (defined(__GNUC__) && !defined(__CUDACC__) && !defined(_LIBCPP_VERSION) && (GTEST_GCC_VER_ >= 40000)) \ + || _MSC_VER >= 1600 + #define GTEST_USE_OWN_TR1_TUPLE 0 + #else