summaryrefslogtreecommitdiff
path: root/editors/openoffice-devel/files
diff options
context:
space:
mode:
authorDon Lewis <truckman@FreeBSD.org>2017-11-27 07:28:35 +0000
committerDon Lewis <truckman@FreeBSD.org>2017-11-27 07:28:35 +0000
commitc1527a09a5405522d3e543dd00af51ca22745da5 (patch)
tree697fd77a1d23c332333d503057eab9399cd5b0c4 /editors/openoffice-devel/files
parentNew port: audio/sorcer-lv2: Wavetable LV2 plugin synth targeted at the electr... (diff)
Fix the table wizard in openoffice-base on FreeBSD 10 amd64. One of the
source files triggers a bug in the clang 3.4 code optimizer. MFH: 2017Q4
Notes
Notes: svn path=/head/; revision=454935
Diffstat (limited to 'editors/openoffice-devel/files')
-rw-r--r--editors/openoffice-devel/files/patch-framework_Library__fwk.mk14
1 files changed, 14 insertions, 0 deletions
diff --git a/editors/openoffice-devel/files/patch-framework_Library__fwk.mk b/editors/openoffice-devel/files/patch-framework_Library__fwk.mk
new file mode 100644
index 000000000000..7750d033fd74
--- /dev/null
+++ b/editors/openoffice-devel/files/patch-framework_Library__fwk.mk
@@ -0,0 +1,14 @@
+--- framework/Library_fwk.mk.orig 2016-08-29 00:45:25 UTC
++++ framework/Library_fwk.mk
+@@ -190,4 +190,11 @@ $(eval $(call gb_Library_add_exception_objects,fwk,\
+ framework/source/xml/imagesdocumenthandler \
+ ))
+
++# i126622 - Base 4.1.2 does not open Tables and Queries in Mac OSX
++# Also affects FreeBSD 10.3 with clang 3.4.1.
++# Appears to be a clang optimization bug in versions less than 3.8.0
++ifeq ($(COM)$(CPUNAME),CLANGX86_64)
++$(call gb_CxxObject_get_target,framework/source/loadenv/loadenv): T_CXXFLAGS := $(gb_LinkTarget_CXXFLAGS) $(gb_LinkTarget_EXCEPTIONFLAGS) $(gb_COMPILERNOOPTFLAGS)
++endif
++
+ # vim: set noet sw=4 ts=4: