summaryrefslogtreecommitdiff
path: root/external/cppunit
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-07-26 10:10:59 +0200
committerStephan Bergmann <sbergman@redhat.com>2018-07-26 12:31:44 +0200
commit46c9312c54c7292fb9d83388936e28f31f0c72c6 (patch)
tree64b64364328199de82559e38edd0c8c731d51ee0 /external/cppunit
parentbd8cb3ff962417e3f79ae19e7d802e433ea174ac (diff)
external/cppunit: silence -Werror=deprecated-copy (GCC trunk towards GCC 9)
Change-Id: I2daec11938361a6988741bd29e713a36a4c77414 Reviewed-on: https://gerrit.libreoffice.org/58042 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'external/cppunit')
-rw-r--r--external/cppunit/UnpackedTarball_cppunit.mk1
-rw-r--r--external/cppunit/gcc9.patch.011
2 files changed, 12 insertions, 0 deletions
diff --git a/external/cppunit/UnpackedTarball_cppunit.mk b/external/cppunit/UnpackedTarball_cppunit.mk
index 28b251e4bf5b..3b945f29ab0f 100644
--- a/external/cppunit/UnpackedTarball_cppunit.mk
+++ b/external/cppunit/UnpackedTarball_cppunit.mk
@@ -17,6 +17,7 @@ $(eval $(call gb_UnpackedTarball_add_patches,cppunit,\
external/cppunit/CPPUNIT_PLUGIN_EXPORT.patch.0 \
external/cppunit/enable-win32-debug.patch \
external/cppunit/rtti.patch.0 \
+ external/cppunit/gcc9.patch.0 \
))
ifeq ($(DISABLE_DYNLOADING),TRUE)
$(eval $(call gb_UnpackedTarball_add_patches,cppunit,\
diff --git a/external/cppunit/gcc9.patch.0 b/external/cppunit/gcc9.patch.0
new file mode 100644
index 000000000000..b05725ac09f2
--- /dev/null
+++ b/external/cppunit/gcc9.patch.0
@@ -0,0 +1,11 @@
+--- include/cppunit/extensions/TestSuiteBuilderContext.h
++++ include/cppunit/extensions/TestSuiteBuilderContext.h
+@@ -37,6 +37,8 @@
+ TestSuiteBuilderContextBase( TestSuite &suite,
+ const TestNamer &namer,
+ TestFixtureFactory &factory );
++
++ TestSuiteBuilderContextBase(TestSuiteBuilderContextBase const &) = default;
+
+ virtual ~TestSuiteBuilderContextBase();
+