summaryrefslogtreecommitdiff
path: root/editors/openoffice-3-devel
diff options
context:
space:
mode:
authorMaho Nakata <maho@FreeBSD.org>2012-02-20 11:17:56 +0000
committerMaho Nakata <maho@FreeBSD.org>2012-02-20 11:17:56 +0000
commit3ce3827da1ca7e141d3d95b005c1b22228099fcc (patch)
tree643347e679f86ddfa198a3730b82113b45b31a33 /editors/openoffice-3-devel
parentUpdate to 0.18 (diff)
Build fix for gcc 4.6, but not for default.
Diffstat (limited to 'editors/openoffice-3-devel')
-rw-r--r--editors/openoffice-3-devel/Makefile1
-rw-r--r--editors/openoffice-3-devel/files/patch-bridges12
2 files changed, 13 insertions, 0 deletions
diff --git a/editors/openoffice-3-devel/Makefile b/editors/openoffice-3-devel/Makefile
index 274f52d26cc8..fb3dc836de15 100644
--- a/editors/openoffice-3-devel/Makefile
+++ b/editors/openoffice-3-devel/Makefile
@@ -28,6 +28,7 @@ USE_XORG= x11 ice xaw xau xext xrender xrandr \
xi xt xcursor xdamage xcomposite xfixes
USE_GL= gl glu
USE_GSTREAMER= yes
+#USE_GCC= 4.6+
USE_GMAKE= yes
USE_PYTHON= yes
USE_PERL5_BUILD= yes
diff --git a/editors/openoffice-3-devel/files/patch-bridges b/editors/openoffice-3-devel/files/patch-bridges
new file mode 100644
index 000000000000..9fe7a8c2772a
--- /dev/null
+++ b/editors/openoffice-3-devel/files/patch-bridges
@@ -0,0 +1,12 @@
+Build fix for gcc46
+
+--- bridges/source/cpp_uno/gcc3_freebsd_x86-64/except.cxx~ 2012-02-19 18:18:25.000000000 +0900
++++ bridges/source/cpp_uno/gcc3_freebsd_x86-64/except.cxx 2012-02-20 18:03:45.000000000 +0900
+@@ -23,6 +23,7 @@
+
+ // MARKER(update_precomp.py): autogen include statement, do not remove
+ #include "precompiled_bridges.hxx"
++#include <exception>
+
+ #include <stdio.h>
+ #include <string.h>