diff --git a/sdk_container/src/third_party/coreos-overlay/dev-cpp/gmock/Manifest b/sdk_container/src/third_party/coreos-overlay/dev-cpp/gmock/Manifest deleted file mode 100644 index b7128de2a5..0000000000 --- a/sdk_container/src/third_party/coreos-overlay/dev-cpp/gmock/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST gmock-1.4.0.tar.bz2 946373 RMD160 9d43853f4abc650b8d8fe9984a6b4baddeea08ce SHA1 ecc8beec7004f36d8d4c0af5237381db4d640126 SHA256 21d37c154a7b8d7a8562b9dde82db7db0a6c188b985c4a18ff3413daae8caa8c diff --git a/sdk_container/src/third_party/coreos-overlay/dev-cpp/gmock/files/gmock-1.4.0-gcc-4.7.patch b/sdk_container/src/third_party/coreos-overlay/dev-cpp/gmock/files/gmock-1.4.0-gcc-4.7.patch deleted file mode 100644 index fa678220f2..0000000000 --- a/sdk_container/src/third_party/coreos-overlay/dev-cpp/gmock/files/gmock-1.4.0-gcc-4.7.patch +++ /dev/null @@ -1,189 +0,0 @@ -taken from upstream repo - -Index: include/gmock/gmock-generated-function-mockers.h.pump -=================================================================== ---- include/gmock/gmock-generated-function-mockers.h.pump (revision 227) -+++ include/gmock/gmock-generated-function-mockers.h.pump (revision 228) -@@ -45,10 +45,6 @@ $var n = 10 $$ The maximum arity we sup - #include - - namespace testing { -- --template --class MockSpec; -- - namespace internal { - - template -@@ -89,7 +85,11 @@ $if i >= 1 [[ - } - - R Invoke($Aas) { -- return InvokeWith(ArgumentTuple($as)); -+ // Even though gcc and MSVC don't enforce it, 'this->' is required -+ // by the C++ standard [14.6.4] here, as the base class type is -+ // dependent on the template argument (and thus shouldn't be -+ // looked into when resolving InvokeWith). -+ return this->InvokeWith(ArgumentTuple($as)); - } - }; - -Index: include/gmock/gmock-generated-function-mockers.h -=================================================================== ---- include/gmock/gmock-generated-function-mockers.h (revision 227) -+++ include/gmock/gmock-generated-function-mockers.h (revision 228) -@@ -42,10 +42,6 @@ - #include - - namespace testing { -- --template --class MockSpec; -- - namespace internal { - - template -@@ -71,7 +67,11 @@ class FunctionMocker : public - } - - R Invoke() { -- return InvokeWith(ArgumentTuple()); -+ // Even though gcc and MSVC don't enforce it, 'this->' is required -+ // by the C++ standard [14.6.4] here, as the base class type is -+ // dependent on the template argument (and thus shouldn't be -+ // looked into when resolving InvokeWith). -+ return this->InvokeWith(ArgumentTuple()); - } - }; - -@@ -88,7 +88,11 @@ class FunctionMocker : public - } - - R Invoke(A1 a1) { -- return InvokeWith(ArgumentTuple(a1)); -+ // Even though gcc and MSVC don't enforce it, 'this->' is required -+ // by the C++ standard [14.6.4] here, as the base class type is -+ // dependent on the template argument (and thus shouldn't be -+ // looked into when resolving InvokeWith). -+ return this->InvokeWith(ArgumentTuple(a1)); - } - }; - -@@ -105,7 +109,11 @@ class FunctionMocker : public - } - - R Invoke(A1 a1, A2 a2) { -- return InvokeWith(ArgumentTuple(a1, a2)); -+ // Even though gcc and MSVC don't enforce it, 'this->' is required -+ // by the C++ standard [14.6.4] here, as the base class type is -+ // dependent on the template argument (and thus shouldn't be -+ // looked into when resolving InvokeWith). -+ return this->InvokeWith(ArgumentTuple(a1, a2)); - } - }; - -@@ -123,7 +131,11 @@ class FunctionMocker : pu - } - - R Invoke(A1 a1, A2 a2, A3 a3) { -- return InvokeWith(ArgumentTuple(a1, a2, a3)); -+ // Even though gcc and MSVC don't enforce it, 'this->' is required -+ // by the C++ standard [14.6.4] here, as the base class type is -+ // dependent on the template argument (and thus shouldn't be -+ // looked into when resolving InvokeWith). -+ return this->InvokeWith(ArgumentTuple(a1, a2, a3)); - } - }; - -@@ -141,7 +153,11 @@ class FunctionMocker - } - - R Invoke(A1 a1, A2 a2, A3 a3, A4 a4) { -- return InvokeWith(ArgumentTuple(a1, a2, a3, a4)); -+ // Even though gcc and MSVC don't enforce it, 'this->' is required -+ // by the C++ standard [14.6.4] here, as the base class type is -+ // dependent on the template argument (and thus shouldn't be -+ // looked into when resolving InvokeWith). -+ return this->InvokeWith(ArgumentTuple(a1, a2, a3, a4)); - } - }; - -@@ -161,7 +177,11 @@ class FunctionMocker' is required -+ // by the C++ standard [14.6.4] here, as the base class type is -+ // dependent on the template argument (and thus shouldn't be -+ // looked into when resolving InvokeWith). -+ return this->InvokeWith(ArgumentTuple(a1, a2, a3, a4, a5)); - } - }; - -@@ -182,7 +202,11 @@ class FunctionMocker' is required -+ // by the C++ standard [14.6.4] here, as the base class type is -+ // dependent on the template argument (and thus shouldn't be -+ // looked into when resolving InvokeWith). -+ return this->InvokeWith(ArgumentTuple(a1, a2, a3, a4, a5, a6)); - } - }; - -@@ -203,7 +227,11 @@ class FunctionMocker' is required -+ // by the C++ standard [14.6.4] here, as the base class type is -+ // dependent on the template argument (and thus shouldn't be -+ // looked into when resolving InvokeWith). -+ return this->InvokeWith(ArgumentTuple(a1, a2, a3, a4, a5, a6, a7)); - } - }; - -@@ -224,7 +252,11 @@ class FunctionMocker' is required -+ // by the C++ standard [14.6.4] here, as the base class type is -+ // dependent on the template argument (and thus shouldn't be -+ // looked into when resolving InvokeWith). -+ return this->InvokeWith(ArgumentTuple(a1, a2, a3, a4, a5, a6, a7, a8)); - } - }; - -@@ -246,7 +278,11 @@ class FunctionMocker' is required -+ // by the C++ standard [14.6.4] here, as the base class type is -+ // dependent on the template argument (and thus shouldn't be -+ // looked into when resolving InvokeWith). -+ return this->InvokeWith(ArgumentTuple(a1, a2, a3, a4, a5, a6, a7, a8, a9)); - } - }; - -@@ -270,7 +306,12 @@ class FunctionMocker' is required -+ // by the C++ standard [14.6.4] here, as the base class type is -+ // dependent on the template argument (and thus shouldn't be -+ // looked into when resolving InvokeWith). -+ return this->InvokeWith(ArgumentTuple(a1, a2, a3, a4, a5, a6, a7, a8, a9, -+ a10)); - } - }; - diff --git a/sdk_container/src/third_party/coreos-overlay/dev-cpp/gmock/files/gmock-1.4.0-more-gcc-4.7.patch b/sdk_container/src/third_party/coreos-overlay/dev-cpp/gmock/files/gmock-1.4.0-more-gcc-4.7.patch deleted file mode 100644 index d28a121a47..0000000000 --- a/sdk_container/src/third_party/coreos-overlay/dev-cpp/gmock/files/gmock-1.4.0-more-gcc-4.7.patch +++ /dev/null @@ -1,144 +0,0 @@ -taken from upstream repo - ------------------------------------------------------------------------- -r245 | zhanyong.wan | 2009-12-02 03:36:42 -0500 (Wed, 02 Dec 2009) | 2 lines - -Fixes a C++-standard-compliance bug in gmock-printers.h. - - -Index: include/gmock/gmock-printers.h -=================================================================== ---- include/gmock/gmock-printers.h (revision 244) -+++ include/gmock/gmock-printers.h (revision 245) -@@ -434,63 +434,10 @@ inline void PrintTo(const ::std::wstring - // Overload for ::std::tr1::tuple. Needed for printing function - // arguments, which are packed as tuples. - --typedef ::std::vector Strings; -- --// This helper template allows PrintTo() for tuples and --// UniversalTersePrintTupleFieldsToStrings() to be defined by --// induction on the number of tuple fields. The idea is that --// TuplePrefixPrinter::PrintPrefixTo(t, os) prints the first N --// fields in tuple t, and can be defined in terms of --// TuplePrefixPrinter. -- --// The inductive case. --template --struct TuplePrefixPrinter { -- // Prints the first N fields of a tuple. -- template -- static void PrintPrefixTo(const Tuple& t, ::std::ostream* os) { -- TuplePrefixPrinter::PrintPrefixTo(t, os); -- *os << ", "; -- UniversalPrinter::type> -- ::Print(::std::tr1::get(t), os); -- } -- -- // Tersely prints the first N fields of a tuple to a string vector, -- // one element for each field. -- template -- static void TersePrintPrefixToStrings(const Tuple& t, Strings* strings) { -- TuplePrefixPrinter::TersePrintPrefixToStrings(t, strings); -- ::std::stringstream ss; -- UniversalTersePrint(::std::tr1::get(t), &ss); -- strings->push_back(ss.str()); -- } --}; -- --// Base cases. --template <> --struct TuplePrefixPrinter<0> { -- template -- static void PrintPrefixTo(const Tuple&, ::std::ostream*) {} -- -- template -- static void TersePrintPrefixToStrings(const Tuple&, Strings*) {} --}; --template <> --template --void TuplePrefixPrinter<1>::PrintPrefixTo(const Tuple& t, ::std::ostream* os) { -- UniversalPrinter::type>:: -- Print(::std::tr1::get<0>(t), os); --} -- - // Helper function for printing a tuple. T must be instantiated with - // a tuple type. - template --void PrintTupleTo(const T& t, ::std::ostream* os) { -- *os << "("; -- TuplePrefixPrinter< ::std::tr1::tuple_size::value>:: -- PrintPrefixTo(t, os); -- *os << ")"; --} -+void PrintTupleTo(const T& t, ::std::ostream* os); - - // Overloaded PrintTo() for tuples of various arities. We support - // tuples of up-to 10 fields. The following implementation works -@@ -725,6 +672,64 @@ void UniversalPrint(const T& value, ::st - UniversalPrinter::Print(value, os); - } - -+typedef ::std::vector Strings; -+ -+// This helper template allows PrintTo() for tuples and -+// UniversalTersePrintTupleFieldsToStrings() to be defined by -+// induction on the number of tuple fields. The idea is that -+// TuplePrefixPrinter::PrintPrefixTo(t, os) prints the first N -+// fields in tuple t, and can be defined in terms of -+// TuplePrefixPrinter. -+ -+// The inductive case. -+template -+struct TuplePrefixPrinter { -+ // Prints the first N fields of a tuple. -+ template -+ static void PrintPrefixTo(const Tuple& t, ::std::ostream* os) { -+ TuplePrefixPrinter::PrintPrefixTo(t, os); -+ *os << ", "; -+ UniversalPrinter::type> -+ ::Print(::std::tr1::get(t), os); -+ } -+ -+ // Tersely prints the first N fields of a tuple to a string vector, -+ // one element for each field. -+ template -+ static void TersePrintPrefixToStrings(const Tuple& t, Strings* strings) { -+ TuplePrefixPrinter::TersePrintPrefixToStrings(t, strings); -+ ::std::stringstream ss; -+ UniversalTersePrint(::std::tr1::get(t), &ss); -+ strings->push_back(ss.str()); -+ } -+}; -+ -+// Base cases. -+template <> -+struct TuplePrefixPrinter<0> { -+ template -+ static void PrintPrefixTo(const Tuple&, ::std::ostream*) {} -+ -+ template -+ static void TersePrintPrefixToStrings(const Tuple&, Strings*) {} -+}; -+template <> -+template -+void TuplePrefixPrinter<1>::PrintPrefixTo(const Tuple& t, ::std::ostream* os) { -+ UniversalPrinter::type>:: -+ Print(::std::tr1::get<0>(t), os); -+} -+ -+// Helper function for printing a tuple. T must be instantiated with -+// a tuple type. -+template -+void PrintTupleTo(const T& t, ::std::ostream* os) { -+ *os << "("; -+ TuplePrefixPrinter< ::std::tr1::tuple_size::value>:: -+ PrintPrefixTo(t, os); -+ *os << ")"; -+} -+ - // Prints the fields of a tuple tersely to a string vector, one - // element for each field. See the comment before - // UniversalTersePrint() for how we define "tersely". - ------------------------------------------------------------------------- diff --git a/sdk_container/src/third_party/coreos-overlay/dev-cpp/gmock/gmock-1.4.0-r1.ebuild b/sdk_container/src/third_party/coreos-overlay/dev-cpp/gmock/gmock-1.4.0-r1.ebuild deleted file mode 120000 index 853713b649..0000000000 --- a/sdk_container/src/third_party/coreos-overlay/dev-cpp/gmock/gmock-1.4.0-r1.ebuild +++ /dev/null @@ -1 +0,0 @@ -gmock-1.4.0.ebuild \ No newline at end of file diff --git a/sdk_container/src/third_party/coreos-overlay/dev-cpp/gmock/gmock-1.4.0.ebuild b/sdk_container/src/third_party/coreos-overlay/dev-cpp/gmock/gmock-1.4.0.ebuild deleted file mode 100644 index 9d2b61d47c..0000000000 --- a/sdk_container/src/third_party/coreos-overlay/dev-cpp/gmock/gmock-1.4.0.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-cpp/gmock/gmock-1.4.0.ebuild,v 1.6 2012/08/28 21:52:08 vapier Exp $ - -EAPI="4" - -inherit libtool eutils - -DESCRIPTION="Google's C++ mocking framework" -HOMEPAGE="http://code.google.com/p/googlemock/" -SRC_URI="http://googlemock.googlecode.com/files/${P}.tar.bz2" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm x86" -IUSE="static-libs" - -RDEPEND=">=dev-cpp/gtest-${PV}" -DEPEND="${RDEPEND}" - -src_unpack() { - default - # make sure we always use the system one - rm -r "${S}"/gtest/Makefile* || die -} - -src_prepare() { - epatch "${FILESDIR}"/${P}-gcc-4.7.patch - epatch "${FILESDIR}"/${P}-more-gcc-4.7.patch - elibtoolize -} - -src_configure() { - econf $(use_enable static-libs static) -} - -src_install() { - default - use static-libs || find "${ED}"/usr -name '*.la' -delete -}