summaryrefslogtreecommitdiff
path: root/editors/openoffice-1.1
diff options
context:
space:
mode:
authorMartin Blapp <mbr@FreeBSD.org>2002-03-10 17:14:48 +0000
committerMartin Blapp <mbr@FreeBSD.org>2002-03-10 17:14:48 +0000
commitd5b8dbd7c4ed538dfa345736f677594623ba4059 (patch)
tree02325d9ce1aa9061e5dbf97e17c049e8de8b25d9 /editors/openoffice-1.1
parent- fix 5-CURRENT build (add a dependency to XFree86-4-clients) (diff)
Define fcvt as extern as NetBSD does.
Notes
Notes: svn path=/head/; revision=55816
Diffstat (limited to 'editors/openoffice-1.1')
-rw-r--r--editors/openoffice-1.1/files/patch-svx::source::dialog::graphctl.cxx18
1 files changed, 18 insertions, 0 deletions
diff --git a/editors/openoffice-1.1/files/patch-svx::source::dialog::graphctl.cxx b/editors/openoffice-1.1/files/patch-svx::source::dialog::graphctl.cxx
new file mode 100644
index 000000000000..a6a31d0c9621
--- /dev/null
+++ b/editors/openoffice-1.1/files/patch-svx::source::dialog::graphctl.cxx
@@ -0,0 +1,18 @@
+--- ../svx/source/dialog/graphctl.cxx 2001/08/16 15:41:29 1.6
++++ ../svx/source/dialog/graphctl.cxx 2002/03/03 19:41:13
+@@ -62,12 +62,12 @@
+ #if defined( OS2 ) || defined( WIN ) || defined( UNX ) || defined( WNT )
+ #include <stdlib.h> //wegen fcvt
+ #endif
+-#if defined(MAC) || defined(NETBSD)
+-#if defined(NETBSD)
++#if defined(MAC) || defined(NETBSD) || defined(FREEBSD)
++#if defined(NETBSD) || defined(FREEBSD)
+ extern "C" {
+ #endif
+ char *fcvt(double value, int ndigit, int *decpt, int *sign);
+-#if defined(NETBSD)
++#if defined(NETBSD) || defined(FREEBSD)
+ }
+ #endif
+ #endif