From a5ac5ac896f2fa792f3b12505c7af3eb8d1ae319 Mon Sep 17 00:00:00 2001 From: Piotr Kubaj Date: Wed, 20 Jan 2021 17:26:37 +0000 Subject: editors/libreoffice: fix build on powerpc64 elfv2 This set of patches is applied only on powerpc* architectures. Submitted by: afsilva Approved by: tier 2 blanket --- .../libreoffice/files/powerpc64/patch-include_uno_mapping.hxx | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 editors/libreoffice/files/powerpc64/patch-include_uno_mapping.hxx (limited to 'editors/libreoffice/files/powerpc64/patch-include_uno_mapping.hxx') diff --git a/editors/libreoffice/files/powerpc64/patch-include_uno_mapping.hxx b/editors/libreoffice/files/powerpc64/patch-include_uno_mapping.hxx new file mode 100644 index 000000000000..04342a17f3b0 --- /dev/null +++ b/editors/libreoffice/files/powerpc64/patch-include_uno_mapping.hxx @@ -0,0 +1,10 @@ +--- include/uno/mapping.hxx.orig 2020-11-28 00:12:11 UTC ++++ include/uno/mapping.hxx +@@ -248,6 +248,7 @@ inline Mapping::Mapping( const Mapping & rMapping ) + (*_pMapping->acquire)( _pMapping ); + } + ++__attribute__ ((optnone)) + inline Mapping::~Mapping() + { + if (_pMapping) -- cgit v1.2.3