aboutsummaryrefslogtreecommitdiff
path: root/editors/openoffice-4
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-4
parent135ee7d8c5efb79ee8be7276260064911f43c851 (diff)
downloadports-c1527a09a5405522d3e543dd00af51ca22745da5.tar.gz
ports-c1527a09a5405522d3e543dd00af51ca22745da5.zip
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-4')
-rw-r--r--editors/openoffice-4/Makefile1
-rw-r--r--editors/openoffice-4/files/patch-framework_Library__fwk.mk14
2 files changed, 15 insertions, 0 deletions
diff --git a/editors/openoffice-4/Makefile b/editors/openoffice-4/Makefile
index 0129523a4611..9a47ad8733bf 100644
--- a/editors/openoffice-4/Makefile
+++ b/editors/openoffice-4/Makefile
@@ -3,6 +3,7 @@
PORTNAME= apache-openoffice
PORTVERSION= ${AOOVERSION}
+PORTREVISION= 1
CATEGORIES= editors java
MASTER_SITES= APACHE/openoffice/${PORTVERSION}/sources \
http://tools.openoffice.org/unowinreg_prebuild/680/:unoreg \
diff --git a/editors/openoffice-4/files/patch-framework_Library__fwk.mk b/editors/openoffice-4/files/patch-framework_Library__fwk.mk
new file mode 100644
index 000000000000..5d6e318dcf81
--- /dev/null
+++ b/editors/openoffice-4/files/patch-framework_Library__fwk.mk
@@ -0,0 +1,14 @@
+--- framework/Library_fwk.mk.orig 2017-10-11 11:40:20 UTC
++++ framework/Library_fwk.mk
+@@ -186,4 +186,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): CXXFLAGS := $(gb_LinkTarget_CXXFLAGS) $(gb_LinkTarget_EXCEPTIONFLAGS) $(gb_COMPILERNOOPTFLAGS)
++endif
++
+ # vim: set noet sw=4 ts=4: