From c1527a09a5405522d3e543dd00af51ca22745da5 Mon Sep 17 00:00:00 2001 From: Don Lewis Date: Mon, 27 Nov 2017 07:28:35 +0000 Subject: 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 --- .../openoffice-devel/files/patch-framework_Library__fwk.mk | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 editors/openoffice-devel/files/patch-framework_Library__fwk.mk (limited to 'editors/openoffice-devel/files') 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: -- cgit v1.2.3