diff options
author | mbr <mbr@FreeBSD.org> | 2002-06-03 04:07:05 +0800 |
---|---|---|
committer | mbr <mbr@FreeBSD.org> | 2002-06-03 04:07:05 +0800 |
commit | 3e22d99e5472bf2ab35b97a412c75b603acc4613 (patch) | |
tree | 2bf22d49f561e0ababab74de8d474e7cba2086d7 | |
parent | 4f33af9a9d455c18dc0c475431c688be23f79279 (diff) | |
download | freebsd-ports-gnome-3e22d99e5472bf2ab35b97a412c75b603acc4613.tar.gz freebsd-ports-gnome-3e22d99e5472bf2ab35b97a412c75b603acc4613.tar.zst freebsd-ports-gnome-3e22d99e5472bf2ab35b97a412c75b603acc4613.zip |
Fix previous patch. We have to include unistd.h for FreeBSD
23 files changed, 253 insertions, 207 deletions
diff --git a/editors/openoffice-1.0/files/patch-vcl+unx+source+app+rptpsound.cxx b/editors/openoffice-1.0/files/patch-vcl+unx+source+app+rptpsound.cxx index d70547e3db9f..fca5510022f9 100644 --- a/editors/openoffice-1.0/files/patch-vcl+unx+source+app+rptpsound.cxx +++ b/editors/openoffice-1.0/files/patch-vcl+unx+source+app+rptpsound.cxx @@ -1,11 +1,13 @@ ---- ../vcl/unx/source/app/rptpsound.cxx.orig Fri May 31 17:18:14 2002 -+++ ../vcl/unx/source/app/rptpsound.cxx Fri May 31 17:18:16 2002 -@@ -73,7 +73,7 @@ - #include <strhelper.hxx> - #include <string.h> - --#ifdef SOLARIS -+#ifdef SOLARIS || FREEBSD - // Solaris 2.5.1 misses it in unistd.h +--- ../vcl/unx/source/app/rptpsound.cxx.orig Wed Oct 24 18:32:21 2001 ++++ ../vcl/unx/source/app/rptpsound.cxx Sun Jun 2 22:01:07 2002 +@@ -78,6 +78,10 @@ extern "C" int usleep(unsigned int); #endif + ++#ifdef FREEBSD ++#include <unistd.h> ++#endif ++ + #ifdef _USE_NAMESPACE + using namespace vcl_sal; + using namespace vos; diff --git a/editors/openoffice-1.0/files/patch-vcl::unx::source::app::rptpsound.cxx b/editors/openoffice-1.0/files/patch-vcl::unx::source::app::rptpsound.cxx index d70547e3db9f..fca5510022f9 100644 --- a/editors/openoffice-1.0/files/patch-vcl::unx::source::app::rptpsound.cxx +++ b/editors/openoffice-1.0/files/patch-vcl::unx::source::app::rptpsound.cxx @@ -1,11 +1,13 @@ ---- ../vcl/unx/source/app/rptpsound.cxx.orig Fri May 31 17:18:14 2002 -+++ ../vcl/unx/source/app/rptpsound.cxx Fri May 31 17:18:16 2002 -@@ -73,7 +73,7 @@ - #include <strhelper.hxx> - #include <string.h> - --#ifdef SOLARIS -+#ifdef SOLARIS || FREEBSD - // Solaris 2.5.1 misses it in unistd.h +--- ../vcl/unx/source/app/rptpsound.cxx.orig Wed Oct 24 18:32:21 2001 ++++ ../vcl/unx/source/app/rptpsound.cxx Sun Jun 2 22:01:07 2002 +@@ -78,6 +78,10 @@ extern "C" int usleep(unsigned int); #endif + ++#ifdef FREEBSD ++#include <unistd.h> ++#endif ++ + #ifdef _USE_NAMESPACE + using namespace vcl_sal; + using namespace vos; diff --git a/editors/openoffice-1.1-devel/files/patch-vcl+unx+source+app+rptpsound.cxx b/editors/openoffice-1.1-devel/files/patch-vcl+unx+source+app+rptpsound.cxx index d70547e3db9f..fca5510022f9 100644 --- a/editors/openoffice-1.1-devel/files/patch-vcl+unx+source+app+rptpsound.cxx +++ b/editors/openoffice-1.1-devel/files/patch-vcl+unx+source+app+rptpsound.cxx @@ -1,11 +1,13 @@ ---- ../vcl/unx/source/app/rptpsound.cxx.orig Fri May 31 17:18:14 2002 -+++ ../vcl/unx/source/app/rptpsound.cxx Fri May 31 17:18:16 2002 -@@ -73,7 +73,7 @@ - #include <strhelper.hxx> - #include <string.h> - --#ifdef SOLARIS -+#ifdef SOLARIS || FREEBSD - // Solaris 2.5.1 misses it in unistd.h +--- ../vcl/unx/source/app/rptpsound.cxx.orig Wed Oct 24 18:32:21 2001 ++++ ../vcl/unx/source/app/rptpsound.cxx Sun Jun 2 22:01:07 2002 +@@ -78,6 +78,10 @@ extern "C" int usleep(unsigned int); #endif + ++#ifdef FREEBSD ++#include <unistd.h> ++#endif ++ + #ifdef _USE_NAMESPACE + using namespace vcl_sal; + using namespace vos; diff --git a/editors/openoffice-1.1/files/patch-vcl+unx+source+app+rptpsound.cxx b/editors/openoffice-1.1/files/patch-vcl+unx+source+app+rptpsound.cxx index d70547e3db9f..fca5510022f9 100644 --- a/editors/openoffice-1.1/files/patch-vcl+unx+source+app+rptpsound.cxx +++ b/editors/openoffice-1.1/files/patch-vcl+unx+source+app+rptpsound.cxx @@ -1,11 +1,13 @@ ---- ../vcl/unx/source/app/rptpsound.cxx.orig Fri May 31 17:18:14 2002 -+++ ../vcl/unx/source/app/rptpsound.cxx Fri May 31 17:18:16 2002 -@@ -73,7 +73,7 @@ - #include <strhelper.hxx> - #include <string.h> - --#ifdef SOLARIS -+#ifdef SOLARIS || FREEBSD - // Solaris 2.5.1 misses it in unistd.h +--- ../vcl/unx/source/app/rptpsound.cxx.orig Wed Oct 24 18:32:21 2001 ++++ ../vcl/unx/source/app/rptpsound.cxx Sun Jun 2 22:01:07 2002 +@@ -78,6 +78,10 @@ extern "C" int usleep(unsigned int); #endif + ++#ifdef FREEBSD ++#include <unistd.h> ++#endif ++ + #ifdef _USE_NAMESPACE + using namespace vcl_sal; + using namespace vos; diff --git a/editors/openoffice-2.0-devel/files/patch-vcl+unx+source+app+rptpsound.cxx b/editors/openoffice-2.0-devel/files/patch-vcl+unx+source+app+rptpsound.cxx index d70547e3db9f..fca5510022f9 100644 --- a/editors/openoffice-2.0-devel/files/patch-vcl+unx+source+app+rptpsound.cxx +++ b/editors/openoffice-2.0-devel/files/patch-vcl+unx+source+app+rptpsound.cxx @@ -1,11 +1,13 @@ ---- ../vcl/unx/source/app/rptpsound.cxx.orig Fri May 31 17:18:14 2002 -+++ ../vcl/unx/source/app/rptpsound.cxx Fri May 31 17:18:16 2002 -@@ -73,7 +73,7 @@ - #include <strhelper.hxx> - #include <string.h> - --#ifdef SOLARIS -+#ifdef SOLARIS || FREEBSD - // Solaris 2.5.1 misses it in unistd.h +--- ../vcl/unx/source/app/rptpsound.cxx.orig Wed Oct 24 18:32:21 2001 ++++ ../vcl/unx/source/app/rptpsound.cxx Sun Jun 2 22:01:07 2002 +@@ -78,6 +78,10 @@ extern "C" int usleep(unsigned int); #endif + ++#ifdef FREEBSD ++#include <unistd.h> ++#endif ++ + #ifdef _USE_NAMESPACE + using namespace vcl_sal; + using namespace vos; diff --git a/editors/openoffice-3-devel/files/patch-vcl+unx+source+app+rptpsound.cxx b/editors/openoffice-3-devel/files/patch-vcl+unx+source+app+rptpsound.cxx index d70547e3db9f..fca5510022f9 100644 --- a/editors/openoffice-3-devel/files/patch-vcl+unx+source+app+rptpsound.cxx +++ b/editors/openoffice-3-devel/files/patch-vcl+unx+source+app+rptpsound.cxx @@ -1,11 +1,13 @@ ---- ../vcl/unx/source/app/rptpsound.cxx.orig Fri May 31 17:18:14 2002 -+++ ../vcl/unx/source/app/rptpsound.cxx Fri May 31 17:18:16 2002 -@@ -73,7 +73,7 @@ - #include <strhelper.hxx> - #include <string.h> - --#ifdef SOLARIS -+#ifdef SOLARIS || FREEBSD - // Solaris 2.5.1 misses it in unistd.h +--- ../vcl/unx/source/app/rptpsound.cxx.orig Wed Oct 24 18:32:21 2001 ++++ ../vcl/unx/source/app/rptpsound.cxx Sun Jun 2 22:01:07 2002 +@@ -78,6 +78,10 @@ extern "C" int usleep(unsigned int); #endif + ++#ifdef FREEBSD ++#include <unistd.h> ++#endif ++ + #ifdef _USE_NAMESPACE + using namespace vcl_sal; + using namespace vos; diff --git a/editors/openoffice-3/files/patch-vcl+unx+source+app+rptpsound.cxx b/editors/openoffice-3/files/patch-vcl+unx+source+app+rptpsound.cxx index d70547e3db9f..fca5510022f9 100644 --- a/editors/openoffice-3/files/patch-vcl+unx+source+app+rptpsound.cxx +++ b/editors/openoffice-3/files/patch-vcl+unx+source+app+rptpsound.cxx @@ -1,11 +1,13 @@ ---- ../vcl/unx/source/app/rptpsound.cxx.orig Fri May 31 17:18:14 2002 -+++ ../vcl/unx/source/app/rptpsound.cxx Fri May 31 17:18:16 2002 -@@ -73,7 +73,7 @@ - #include <strhelper.hxx> - #include <string.h> - --#ifdef SOLARIS -+#ifdef SOLARIS || FREEBSD - // Solaris 2.5.1 misses it in unistd.h +--- ../vcl/unx/source/app/rptpsound.cxx.orig Wed Oct 24 18:32:21 2001 ++++ ../vcl/unx/source/app/rptpsound.cxx Sun Jun 2 22:01:07 2002 +@@ -78,6 +78,10 @@ extern "C" int usleep(unsigned int); #endif + ++#ifdef FREEBSD ++#include <unistd.h> ++#endif ++ + #ifdef _USE_NAMESPACE + using namespace vcl_sal; + using namespace vos; diff --git a/editors/openoffice-devel/files/patch-vcl+unx+source+app+rptpsound.cxx b/editors/openoffice-devel/files/patch-vcl+unx+source+app+rptpsound.cxx index d70547e3db9f..fca5510022f9 100644 --- a/editors/openoffice-devel/files/patch-vcl+unx+source+app+rptpsound.cxx +++ b/editors/openoffice-devel/files/patch-vcl+unx+source+app+rptpsound.cxx @@ -1,11 +1,13 @@ ---- ../vcl/unx/source/app/rptpsound.cxx.orig Fri May 31 17:18:14 2002 -+++ ../vcl/unx/source/app/rptpsound.cxx Fri May 31 17:18:16 2002 -@@ -73,7 +73,7 @@ - #include <strhelper.hxx> - #include <string.h> - --#ifdef SOLARIS -+#ifdef SOLARIS || FREEBSD - // Solaris 2.5.1 misses it in unistd.h +--- ../vcl/unx/source/app/rptpsound.cxx.orig Wed Oct 24 18:32:21 2001 ++++ ../vcl/unx/source/app/rptpsound.cxx Sun Jun 2 22:01:07 2002 +@@ -78,6 +78,10 @@ extern "C" int usleep(unsigned int); #endif + ++#ifdef FREEBSD ++#include <unistd.h> ++#endif ++ + #ifdef _USE_NAMESPACE + using namespace vcl_sal; + using namespace vos; diff --git a/editors/openoffice.org-1.0/files/patch-vcl+unx+source+app+rptpsound.cxx b/editors/openoffice.org-1.0/files/patch-vcl+unx+source+app+rptpsound.cxx index d70547e3db9f..fca5510022f9 100644 --- a/editors/openoffice.org-1.0/files/patch-vcl+unx+source+app+rptpsound.cxx +++ b/editors/openoffice.org-1.0/files/patch-vcl+unx+source+app+rptpsound.cxx @@ -1,11 +1,13 @@ ---- ../vcl/unx/source/app/rptpsound.cxx.orig Fri May 31 17:18:14 2002 -+++ ../vcl/unx/source/app/rptpsound.cxx Fri May 31 17:18:16 2002 -@@ -73,7 +73,7 @@ - #include <strhelper.hxx> - #include <string.h> - --#ifdef SOLARIS -+#ifdef SOLARIS || FREEBSD - // Solaris 2.5.1 misses it in unistd.h +--- ../vcl/unx/source/app/rptpsound.cxx.orig Wed Oct 24 18:32:21 2001 ++++ ../vcl/unx/source/app/rptpsound.cxx Sun Jun 2 22:01:07 2002 +@@ -78,6 +78,10 @@ extern "C" int usleep(unsigned int); #endif + ++#ifdef FREEBSD ++#include <unistd.h> ++#endif ++ + #ifdef _USE_NAMESPACE + using namespace vcl_sal; + using namespace vos; diff --git a/editors/openoffice.org-1.0/files/patch-vcl::unx::source::app::rptpsound.cxx b/editors/openoffice.org-1.0/files/patch-vcl::unx::source::app::rptpsound.cxx index d70547e3db9f..fca5510022f9 100644 --- a/editors/openoffice.org-1.0/files/patch-vcl::unx::source::app::rptpsound.cxx +++ b/editors/openoffice.org-1.0/files/patch-vcl::unx::source::app::rptpsound.cxx @@ -1,11 +1,13 @@ ---- ../vcl/unx/source/app/rptpsound.cxx.orig Fri May 31 17:18:14 2002 -+++ ../vcl/unx/source/app/rptpsound.cxx Fri May 31 17:18:16 2002 -@@ -73,7 +73,7 @@ - #include <strhelper.hxx> - #include <string.h> - --#ifdef SOLARIS -+#ifdef SOLARIS || FREEBSD - // Solaris 2.5.1 misses it in unistd.h +--- ../vcl/unx/source/app/rptpsound.cxx.orig Wed Oct 24 18:32:21 2001 ++++ ../vcl/unx/source/app/rptpsound.cxx Sun Jun 2 22:01:07 2002 +@@ -78,6 +78,10 @@ extern "C" int usleep(unsigned int); #endif + ++#ifdef FREEBSD ++#include <unistd.h> ++#endif ++ + #ifdef _USE_NAMESPACE + using namespace vcl_sal; + using namespace vos; diff --git a/editors/openoffice.org-1.1-devel/files/patch-vcl+unx+source+app+rptpsound.cxx b/editors/openoffice.org-1.1-devel/files/patch-vcl+unx+source+app+rptpsound.cxx index d70547e3db9f..fca5510022f9 100644 --- a/editors/openoffice.org-1.1-devel/files/patch-vcl+unx+source+app+rptpsound.cxx +++ b/editors/openoffice.org-1.1-devel/files/patch-vcl+unx+source+app+rptpsound.cxx @@ -1,11 +1,13 @@ ---- ../vcl/unx/source/app/rptpsound.cxx.orig Fri May 31 17:18:14 2002 -+++ ../vcl/unx/source/app/rptpsound.cxx Fri May 31 17:18:16 2002 -@@ -73,7 +73,7 @@ - #include <strhelper.hxx> - #include <string.h> - --#ifdef SOLARIS -+#ifdef SOLARIS || FREEBSD - // Solaris 2.5.1 misses it in unistd.h +--- ../vcl/unx/source/app/rptpsound.cxx.orig Wed Oct 24 18:32:21 2001 ++++ ../vcl/unx/source/app/rptpsound.cxx Sun Jun 2 22:01:07 2002 +@@ -78,6 +78,10 @@ extern "C" int usleep(unsigned int); #endif + ++#ifdef FREEBSD ++#include <unistd.h> ++#endif ++ + #ifdef _USE_NAMESPACE + using namespace vcl_sal; + using namespace vos; diff --git a/editors/openoffice.org-1.1/files/patch-vcl+unx+source+app+rptpsound.cxx b/editors/openoffice.org-1.1/files/patch-vcl+unx+source+app+rptpsound.cxx index d70547e3db9f..fca5510022f9 100644 --- a/editors/openoffice.org-1.1/files/patch-vcl+unx+source+app+rptpsound.cxx +++ b/editors/openoffice.org-1.1/files/patch-vcl+unx+source+app+rptpsound.cxx @@ -1,11 +1,13 @@ ---- ../vcl/unx/source/app/rptpsound.cxx.orig Fri May 31 17:18:14 2002 -+++ ../vcl/unx/source/app/rptpsound.cxx Fri May 31 17:18:16 2002 -@@ -73,7 +73,7 @@ - #include <strhelper.hxx> - #include <string.h> - --#ifdef SOLARIS -+#ifdef SOLARIS || FREEBSD - // Solaris 2.5.1 misses it in unistd.h +--- ../vcl/unx/source/app/rptpsound.cxx.orig Wed Oct 24 18:32:21 2001 ++++ ../vcl/unx/source/app/rptpsound.cxx Sun Jun 2 22:01:07 2002 +@@ -78,6 +78,10 @@ extern "C" int usleep(unsigned int); #endif + ++#ifdef FREEBSD ++#include <unistd.h> ++#endif ++ + #ifdef _USE_NAMESPACE + using namespace vcl_sal; + using namespace vos; diff --git a/editors/openoffice.org-2-RC/files/patch-vcl+unx+source+app+rptpsound.cxx b/editors/openoffice.org-2-RC/files/patch-vcl+unx+source+app+rptpsound.cxx index d70547e3db9f..fca5510022f9 100644 --- a/editors/openoffice.org-2-RC/files/patch-vcl+unx+source+app+rptpsound.cxx +++ b/editors/openoffice.org-2-RC/files/patch-vcl+unx+source+app+rptpsound.cxx @@ -1,11 +1,13 @@ ---- ../vcl/unx/source/app/rptpsound.cxx.orig Fri May 31 17:18:14 2002 -+++ ../vcl/unx/source/app/rptpsound.cxx Fri May 31 17:18:16 2002 -@@ -73,7 +73,7 @@ - #include <strhelper.hxx> - #include <string.h> - --#ifdef SOLARIS -+#ifdef SOLARIS || FREEBSD - // Solaris 2.5.1 misses it in unistd.h +--- ../vcl/unx/source/app/rptpsound.cxx.orig Wed Oct 24 18:32:21 2001 ++++ ../vcl/unx/source/app/rptpsound.cxx Sun Jun 2 22:01:07 2002 +@@ -78,6 +78,10 @@ extern "C" int usleep(unsigned int); #endif + ++#ifdef FREEBSD ++#include <unistd.h> ++#endif ++ + #ifdef _USE_NAMESPACE + using namespace vcl_sal; + using namespace vos; diff --git a/editors/openoffice.org-2-devel/files/patch-vcl+unx+source+app+rptpsound.cxx b/editors/openoffice.org-2-devel/files/patch-vcl+unx+source+app+rptpsound.cxx index d70547e3db9f..fca5510022f9 100644 --- a/editors/openoffice.org-2-devel/files/patch-vcl+unx+source+app+rptpsound.cxx +++ b/editors/openoffice.org-2-devel/files/patch-vcl+unx+source+app+rptpsound.cxx @@ -1,11 +1,13 @@ ---- ../vcl/unx/source/app/rptpsound.cxx.orig Fri May 31 17:18:14 2002 -+++ ../vcl/unx/source/app/rptpsound.cxx Fri May 31 17:18:16 2002 -@@ -73,7 +73,7 @@ - #include <strhelper.hxx> - #include <string.h> - --#ifdef SOLARIS -+#ifdef SOLARIS || FREEBSD - // Solaris 2.5.1 misses it in unistd.h +--- ../vcl/unx/source/app/rptpsound.cxx.orig Wed Oct 24 18:32:21 2001 ++++ ../vcl/unx/source/app/rptpsound.cxx Sun Jun 2 22:01:07 2002 +@@ -78,6 +78,10 @@ extern "C" int usleep(unsigned int); #endif + ++#ifdef FREEBSD ++#include <unistd.h> ++#endif ++ + #ifdef _USE_NAMESPACE + using namespace vcl_sal; + using namespace vos; diff --git a/editors/openoffice.org-2.0-devel/files/patch-vcl+unx+source+app+rptpsound.cxx b/editors/openoffice.org-2.0-devel/files/patch-vcl+unx+source+app+rptpsound.cxx index d70547e3db9f..fca5510022f9 100644 --- a/editors/openoffice.org-2.0-devel/files/patch-vcl+unx+source+app+rptpsound.cxx +++ b/editors/openoffice.org-2.0-devel/files/patch-vcl+unx+source+app+rptpsound.cxx @@ -1,11 +1,13 @@ ---- ../vcl/unx/source/app/rptpsound.cxx.orig Fri May 31 17:18:14 2002 -+++ ../vcl/unx/source/app/rptpsound.cxx Fri May 31 17:18:16 2002 -@@ -73,7 +73,7 @@ - #include <strhelper.hxx> - #include <string.h> - --#ifdef SOLARIS -+#ifdef SOLARIS || FREEBSD - // Solaris 2.5.1 misses it in unistd.h +--- ../vcl/unx/source/app/rptpsound.cxx.orig Wed Oct 24 18:32:21 2001 ++++ ../vcl/unx/source/app/rptpsound.cxx Sun Jun 2 22:01:07 2002 +@@ -78,6 +78,10 @@ extern "C" int usleep(unsigned int); #endif + ++#ifdef FREEBSD ++#include <unistd.h> ++#endif ++ + #ifdef _USE_NAMESPACE + using namespace vcl_sal; + using namespace vos; diff --git a/editors/openoffice.org-2.0/files/patch-vcl+unx+source+app+rptpsound.cxx b/editors/openoffice.org-2.0/files/patch-vcl+unx+source+app+rptpsound.cxx index d70547e3db9f..fca5510022f9 100644 --- a/editors/openoffice.org-2.0/files/patch-vcl+unx+source+app+rptpsound.cxx +++ b/editors/openoffice.org-2.0/files/patch-vcl+unx+source+app+rptpsound.cxx @@ -1,11 +1,13 @@ ---- ../vcl/unx/source/app/rptpsound.cxx.orig Fri May 31 17:18:14 2002 -+++ ../vcl/unx/source/app/rptpsound.cxx Fri May 31 17:18:16 2002 -@@ -73,7 +73,7 @@ - #include <strhelper.hxx> - #include <string.h> - --#ifdef SOLARIS -+#ifdef SOLARIS || FREEBSD - // Solaris 2.5.1 misses it in unistd.h +--- ../vcl/unx/source/app/rptpsound.cxx.orig Wed Oct 24 18:32:21 2001 ++++ ../vcl/unx/source/app/rptpsound.cxx Sun Jun 2 22:01:07 2002 +@@ -78,6 +78,10 @@ extern "C" int usleep(unsigned int); #endif + ++#ifdef FREEBSD ++#include <unistd.h> ++#endif ++ + #ifdef _USE_NAMESPACE + using namespace vcl_sal; + using namespace vos; diff --git a/editors/openoffice.org-2/files/patch-vcl+unx+source+app+rptpsound.cxx b/editors/openoffice.org-2/files/patch-vcl+unx+source+app+rptpsound.cxx index d70547e3db9f..fca5510022f9 100644 --- a/editors/openoffice.org-2/files/patch-vcl+unx+source+app+rptpsound.cxx +++ b/editors/openoffice.org-2/files/patch-vcl+unx+source+app+rptpsound.cxx @@ -1,11 +1,13 @@ ---- ../vcl/unx/source/app/rptpsound.cxx.orig Fri May 31 17:18:14 2002 -+++ ../vcl/unx/source/app/rptpsound.cxx Fri May 31 17:18:16 2002 -@@ -73,7 +73,7 @@ - #include <strhelper.hxx> - #include <string.h> - --#ifdef SOLARIS -+#ifdef SOLARIS || FREEBSD - // Solaris 2.5.1 misses it in unistd.h +--- ../vcl/unx/source/app/rptpsound.cxx.orig Wed Oct 24 18:32:21 2001 ++++ ../vcl/unx/source/app/rptpsound.cxx Sun Jun 2 22:01:07 2002 +@@ -78,6 +78,10 @@ extern "C" int usleep(unsigned int); #endif + ++#ifdef FREEBSD ++#include <unistd.h> ++#endif ++ + #ifdef _USE_NAMESPACE + using namespace vcl_sal; + using namespace vos; diff --git a/editors/openoffice.org-3-RC/files/patch-vcl+unx+source+app+rptpsound.cxx b/editors/openoffice.org-3-RC/files/patch-vcl+unx+source+app+rptpsound.cxx index d70547e3db9f..fca5510022f9 100644 --- a/editors/openoffice.org-3-RC/files/patch-vcl+unx+source+app+rptpsound.cxx +++ b/editors/openoffice.org-3-RC/files/patch-vcl+unx+source+app+rptpsound.cxx @@ -1,11 +1,13 @@ ---- ../vcl/unx/source/app/rptpsound.cxx.orig Fri May 31 17:18:14 2002 -+++ ../vcl/unx/source/app/rptpsound.cxx Fri May 31 17:18:16 2002 -@@ -73,7 +73,7 @@ - #include <strhelper.hxx> - #include <string.h> - --#ifdef SOLARIS -+#ifdef SOLARIS || FREEBSD - // Solaris 2.5.1 misses it in unistd.h +--- ../vcl/unx/source/app/rptpsound.cxx.orig Wed Oct 24 18:32:21 2001 ++++ ../vcl/unx/source/app/rptpsound.cxx Sun Jun 2 22:01:07 2002 +@@ -78,6 +78,10 @@ extern "C" int usleep(unsigned int); #endif + ++#ifdef FREEBSD ++#include <unistd.h> ++#endif ++ + #ifdef _USE_NAMESPACE + using namespace vcl_sal; + using namespace vos; diff --git a/editors/openoffice.org-3-devel/files/patch-vcl+unx+source+app+rptpsound.cxx b/editors/openoffice.org-3-devel/files/patch-vcl+unx+source+app+rptpsound.cxx index d70547e3db9f..fca5510022f9 100644 --- a/editors/openoffice.org-3-devel/files/patch-vcl+unx+source+app+rptpsound.cxx +++ b/editors/openoffice.org-3-devel/files/patch-vcl+unx+source+app+rptpsound.cxx @@ -1,11 +1,13 @@ ---- ../vcl/unx/source/app/rptpsound.cxx.orig Fri May 31 17:18:14 2002 -+++ ../vcl/unx/source/app/rptpsound.cxx Fri May 31 17:18:16 2002 -@@ -73,7 +73,7 @@ - #include <strhelper.hxx> - #include <string.h> - --#ifdef SOLARIS -+#ifdef SOLARIS || FREEBSD - // Solaris 2.5.1 misses it in unistd.h +--- ../vcl/unx/source/app/rptpsound.cxx.orig Wed Oct 24 18:32:21 2001 ++++ ../vcl/unx/source/app/rptpsound.cxx Sun Jun 2 22:01:07 2002 +@@ -78,6 +78,10 @@ extern "C" int usleep(unsigned int); #endif + ++#ifdef FREEBSD ++#include <unistd.h> ++#endif ++ + #ifdef _USE_NAMESPACE + using namespace vcl_sal; + using namespace vos; diff --git a/editors/openoffice.org-3/files/patch-vcl+unx+source+app+rptpsound.cxx b/editors/openoffice.org-3/files/patch-vcl+unx+source+app+rptpsound.cxx index d70547e3db9f..fca5510022f9 100644 --- a/editors/openoffice.org-3/files/patch-vcl+unx+source+app+rptpsound.cxx +++ b/editors/openoffice.org-3/files/patch-vcl+unx+source+app+rptpsound.cxx @@ -1,11 +1,13 @@ ---- ../vcl/unx/source/app/rptpsound.cxx.orig Fri May 31 17:18:14 2002 -+++ ../vcl/unx/source/app/rptpsound.cxx Fri May 31 17:18:16 2002 -@@ -73,7 +73,7 @@ - #include <strhelper.hxx> - #include <string.h> - --#ifdef SOLARIS -+#ifdef SOLARIS || FREEBSD - // Solaris 2.5.1 misses it in unistd.h +--- ../vcl/unx/source/app/rptpsound.cxx.orig Wed Oct 24 18:32:21 2001 ++++ ../vcl/unx/source/app/rptpsound.cxx Sun Jun 2 22:01:07 2002 +@@ -78,6 +78,10 @@ extern "C" int usleep(unsigned int); #endif + ++#ifdef FREEBSD ++#include <unistd.h> ++#endif ++ + #ifdef _USE_NAMESPACE + using namespace vcl_sal; + using namespace vos; diff --git a/editors/openoffice.org-vcltesttool/files/patch-vcl+unx+source+app+rptpsound.cxx b/editors/openoffice.org-vcltesttool/files/patch-vcl+unx+source+app+rptpsound.cxx index d70547e3db9f..fca5510022f9 100644 --- a/editors/openoffice.org-vcltesttool/files/patch-vcl+unx+source+app+rptpsound.cxx +++ b/editors/openoffice.org-vcltesttool/files/patch-vcl+unx+source+app+rptpsound.cxx @@ -1,11 +1,13 @@ ---- ../vcl/unx/source/app/rptpsound.cxx.orig Fri May 31 17:18:14 2002 -+++ ../vcl/unx/source/app/rptpsound.cxx Fri May 31 17:18:16 2002 -@@ -73,7 +73,7 @@ - #include <strhelper.hxx> - #include <string.h> - --#ifdef SOLARIS -+#ifdef SOLARIS || FREEBSD - // Solaris 2.5.1 misses it in unistd.h +--- ../vcl/unx/source/app/rptpsound.cxx.orig Wed Oct 24 18:32:21 2001 ++++ ../vcl/unx/source/app/rptpsound.cxx Sun Jun 2 22:01:07 2002 +@@ -78,6 +78,10 @@ extern "C" int usleep(unsigned int); #endif + ++#ifdef FREEBSD ++#include <unistd.h> ++#endif ++ + #ifdef _USE_NAMESPACE + using namespace vcl_sal; + using namespace vos; diff --git a/editors/openoffice/files/patch-vcl+unx+source+app+rptpsound.cxx b/editors/openoffice/files/patch-vcl+unx+source+app+rptpsound.cxx index d70547e3db9f..fca5510022f9 100644 --- a/editors/openoffice/files/patch-vcl+unx+source+app+rptpsound.cxx +++ b/editors/openoffice/files/patch-vcl+unx+source+app+rptpsound.cxx @@ -1,11 +1,13 @@ ---- ../vcl/unx/source/app/rptpsound.cxx.orig Fri May 31 17:18:14 2002 -+++ ../vcl/unx/source/app/rptpsound.cxx Fri May 31 17:18:16 2002 -@@ -73,7 +73,7 @@ - #include <strhelper.hxx> - #include <string.h> - --#ifdef SOLARIS -+#ifdef SOLARIS || FREEBSD - // Solaris 2.5.1 misses it in unistd.h +--- ../vcl/unx/source/app/rptpsound.cxx.orig Wed Oct 24 18:32:21 2001 ++++ ../vcl/unx/source/app/rptpsound.cxx Sun Jun 2 22:01:07 2002 +@@ -78,6 +78,10 @@ extern "C" int usleep(unsigned int); #endif + ++#ifdef FREEBSD ++#include <unistd.h> ++#endif ++ + #ifdef _USE_NAMESPACE + using namespace vcl_sal; + using namespace vos; diff --git a/editors/openoffice/files/patch-vcl::unx::source::app::rptpsound.cxx b/editors/openoffice/files/patch-vcl::unx::source::app::rptpsound.cxx index d70547e3db9f..fca5510022f9 100644 --- a/editors/openoffice/files/patch-vcl::unx::source::app::rptpsound.cxx +++ b/editors/openoffice/files/patch-vcl::unx::source::app::rptpsound.cxx @@ -1,11 +1,13 @@ ---- ../vcl/unx/source/app/rptpsound.cxx.orig Fri May 31 17:18:14 2002 -+++ ../vcl/unx/source/app/rptpsound.cxx Fri May 31 17:18:16 2002 -@@ -73,7 +73,7 @@ - #include <strhelper.hxx> - #include <string.h> - --#ifdef SOLARIS -+#ifdef SOLARIS || FREEBSD - // Solaris 2.5.1 misses it in unistd.h +--- ../vcl/unx/source/app/rptpsound.cxx.orig Wed Oct 24 18:32:21 2001 ++++ ../vcl/unx/source/app/rptpsound.cxx Sun Jun 2 22:01:07 2002 +@@ -78,6 +78,10 @@ extern "C" int usleep(unsigned int); #endif + ++#ifdef FREEBSD ++#include <unistd.h> ++#endif ++ + #ifdef _USE_NAMESPACE + using namespace vcl_sal; + using namespace vos; |