aboutsummaryrefslogtreecommitdiffstats
path: root/editors/openoffice.org-3
diff options
context:
space:
mode:
authormbr <mbr@FreeBSD.org>2002-03-11 01:14:48 +0800
committermbr <mbr@FreeBSD.org>2002-03-11 01:14:48 +0800
commit6bb02380ecb8571502cf12b99c842ca89bf0867c (patch)
tree8572c0d8223bd1800c9b72d907e32da0563091e5 /editors/openoffice.org-3
parent21b9366328e2b36062d11de138afd9e17cec9c8f (diff)
downloadfreebsd-ports-graphics-6bb02380ecb8571502cf12b99c842ca89bf0867c.tar.gz
freebsd-ports-graphics-6bb02380ecb8571502cf12b99c842ca89bf0867c.tar.zst
freebsd-ports-graphics-6bb02380ecb8571502cf12b99c842ca89bf0867c.zip
Define fcvt as extern as NetBSD does.
Diffstat (limited to 'editors/openoffice.org-3')
-rw-r--r--editors/openoffice.org-3/files/patch-svx::source::dialog::graphctl.cxx18
1 files changed, 18 insertions, 0 deletions
diff --git a/editors/openoffice.org-3/files/patch-svx::source::dialog::graphctl.cxx b/editors/openoffice.org-3/files/patch-svx::source::dialog::graphctl.cxx
new file mode 100644
index 00000000000..a6a31d0c962
--- /dev/null
+++ b/editors/openoffice.org-3/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