summaryrefslogtreecommitdiff
path: root/editors/libreoffice/files/powerpc64/patch-include_uno_mapping.hxx
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2021-01-20 17:26:37 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2021-01-20 17:26:37 +0000
commita5ac5ac896f2fa792f3b12505c7af3eb8d1ae319 (patch)
treecf0d32461a2682a36fcdc2c22923960d9bcad82c /editors/libreoffice/files/powerpc64/patch-include_uno_mapping.hxx
parentThis is the ports version of src commit (diff)
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
Diffstat (limited to 'editors/libreoffice/files/powerpc64/patch-include_uno_mapping.hxx')
-rw-r--r--editors/libreoffice/files/powerpc64/patch-include_uno_mapping.hxx10
1 files changed, 10 insertions, 0 deletions
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)