diff --git a/CMakeExternals/CppUnit-1.12.1.patch b/CMakeExternals/CppUnit-1.12.1.patch index a21cdc425e..03830eeea5 100644 --- a/CMakeExternals/CppUnit-1.12.1.patch +++ b/CMakeExternals/CppUnit-1.12.1.patch @@ -1,9 +1,21 @@ -diff -urNb cppunit-1.12.1/src/cppunit/TypeInfoHelper.cpp CppUnit-src/src/cppunit/TypeInfoHelper.cpp +diff -ru cppunit-1.12.1/include/cppunit/extensions/HelperMacros.h CppUnit/include/cppunit/extensions/HelperMacros.h +--- cppunit-1.12.1/include/cppunit/extensions/HelperMacros.h 2004-03-13 13:52:56.000000000 +0100 ++++ CppUnit/include/cppunit/extensions/HelperMacros.h 2018-03-02 13:18:25.487754669 +0100 +@@ -169,7 +169,7 @@ + static CPPUNIT_NS::TestSuite *suite() \ + { \ + const CPPUNIT_NS::TestNamer &namer = getTestNamer__(); \ +- std::auto_ptr suite( \ ++ std::unique_ptr suite( \ + new CPPUNIT_NS::TestSuite( namer.getFixtureName() )); \ + CPPUNIT_NS::ConcretTestFixtureFactory factory; \ + CPPUNIT_NS::TestSuiteBuilderContextBase context( *suite.get(), \ +diff -ru cppunit-1.12.1/src/cppunit/TypeInfoHelper.cpp CppUnit/src/cppunit/TypeInfoHelper.cpp --- cppunit-1.12.1/src/cppunit/TypeInfoHelper.cpp 2004-02-18 21:45:44.000000000 +0100 -+++ CppUnit-src/src/cppunit/TypeInfoHelper.cpp 2015-01-11 15:05:15.433871726 +0100 ++++ CppUnit/src/cppunit/TypeInfoHelper.cpp 2018-03-02 13:16:03.100753385 +0100 @@ -7,6 +7,7 @@ #if CPPUNIT_HAVE_GCC_ABI_DEMANGLE #include +#include #endif