diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-07-26 10:27:18 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-07-26 20:38:42 +0200 |
commit | 6a5a69bd59b96b83468079ed3c08f0c6d92608a6 (patch) | |
tree | 8d2766bede93d161e667c54bd04be49bca6f8bac /external/gpgmepp | |
parent | 847848d1401f23d51501e4b3396967a4bc193913 (diff) |
external/gpgmepp: silence -Werror=deprecated-copy (GCC trunk towards GCC 9)
Change-Id: Ib516eb3c9905577f083b99dd972443dcb3e86a42
Reviewed-on: https://gerrit.libreoffice.org/58043
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'external/gpgmepp')
-rw-r--r-- | external/gpgmepp/UnpackedTarball_gpgmepp.mk | 1 | ||||
-rw-r--r-- | external/gpgmepp/gcc9.patch | 10 |
2 files changed, 11 insertions, 0 deletions
diff --git a/external/gpgmepp/UnpackedTarball_gpgmepp.mk b/external/gpgmepp/UnpackedTarball_gpgmepp.mk index 1f7496b9b043..e5cce6a0aac4 100644 --- a/external/gpgmepp/UnpackedTarball_gpgmepp.mk +++ b/external/gpgmepp/UnpackedTarball_gpgmepp.mk @@ -25,5 +25,6 @@ $(eval $(call gb_UnpackedTarball_add_patches,gpgmepp, \ external/gpgmepp/w32-build-fixes-2.patch \ $(if $(filter LINUX,$(OS)),external/gpgmepp/asan.patch) \ $(if $(filter LINUX,$(OS)),external/gpgmepp/rpath.patch) \ + external/gpgmepp/gcc9.patch \ )) # vim: set noet sw=4 ts=4: diff --git a/external/gpgmepp/gcc9.patch b/external/gpgmepp/gcc9.patch new file mode 100644 index 000000000000..c2a9fd444df7 --- /dev/null +++ b/external/gpgmepp/gcc9.patch @@ -0,0 +1,10 @@ +--- lang/cpp/src/key.h ++++ lang/cpp/src/key.h +@@ -62,6 +62,7 @@ + /* implicit */ Key(const Null &); + Key(const shared_gpgme_key_t &key); + Key(gpgme_key_t key, bool acquireRef); ++ Key(Key const &) = default; + + static const Null null; + |