aboutsummaryrefslogtreecommitdiffstats
path: root/editors/openoffice-3
diff options
context:
space:
mode:
authormbr <mbr@FreeBSD.org>2002-03-11 06:42:07 +0800
committermbr <mbr@FreeBSD.org>2002-03-11 06:42:07 +0800
commit3a53c53e45164857fac316f90d71ef6734d957d6 (patch)
tree32b28b2f55bdfe1777d4b3a8b792a814932418dd /editors/openoffice-3
parent865050d454ac87ec1ab8391d17d5c1f0bda45c79 (diff)
downloadfreebsd-ports-gnome-3a53c53e45164857fac316f90d71ef6734d957d6.tar.gz
freebsd-ports-gnome-3a53c53e45164857fac316f90d71ef6734d957d6.tar.zst
freebsd-ports-gnome-3a53c53e45164857fac316f90d71ef6734d957d6.zip
AddrLen is socklen_t, not int
Diffstat (limited to 'editors/openoffice-3')
-rw-r--r--editors/openoffice-3/files/patch-sal+osl+unx+socket.c13
-rw-r--r--editors/openoffice-3/files/patch-sal::osl::unx::socket.c13
2 files changed, 22 insertions, 4 deletions
diff --git a/editors/openoffice-3/files/patch-sal+osl+unx+socket.c b/editors/openoffice-3/files/patch-sal+osl+unx+socket.c
index 4c63598da424..19d390cf08eb 100644
--- a/editors/openoffice-3/files/patch-sal+osl+unx+socket.c
+++ b/editors/openoffice-3/files/patch-sal+osl+unx+socket.c
@@ -1,5 +1,5 @@
---- ../sal/osl/unx/socket.c.orig Sun Mar 3 18:12:48 2002
-+++ ../sal/osl/unx/socket.c Sun Mar 3 18:16:32 2002
+--- ../sal/osl/unx/socket.c.orig Fri Jun 22 16:22:14 2001
++++ ../sal/osl/unx/socket.c Sun Mar 10 23:33:56 2002
@@ -82,7 +82,7 @@
#undef HAVE_POLL_H
#endif
@@ -9,3 +9,12 @@
#include <sys/poll.h>
#define HAVE_POLL_H
#endif /* HAVE_POLL_H */
+@@ -1965,7 +1965,7 @@
+ /*****************************************************************************/
+ oslSocketAddr SAL_CALL osl_getLocalAddrOfSocket(oslSocket pSocket)
+ {
+-#ifdef LINUX
++#ifdef LINUX || defined(FREEBSD)
+ socklen_t AddrLen;
+ #else
+ /* mfe: Solaris 'cc +w' means Addrlen should be signed! */
diff --git a/editors/openoffice-3/files/patch-sal::osl::unx::socket.c b/editors/openoffice-3/files/patch-sal::osl::unx::socket.c
index 4c63598da424..19d390cf08eb 100644
--- a/editors/openoffice-3/files/patch-sal::osl::unx::socket.c
+++ b/editors/openoffice-3/files/patch-sal::osl::unx::socket.c
@@ -1,5 +1,5 @@
---- ../sal/osl/unx/socket.c.orig Sun Mar 3 18:12:48 2002
-+++ ../sal/osl/unx/socket.c Sun Mar 3 18:16:32 2002
+--- ../sal/osl/unx/socket.c.orig Fri Jun 22 16:22:14 2001
++++ ../sal/osl/unx/socket.c Sun Mar 10 23:33:56 2002
@@ -82,7 +82,7 @@
#undef HAVE_POLL_H
#endif
@@ -9,3 +9,12 @@
#include <sys/poll.h>
#define HAVE_POLL_H
#endif /* HAVE_POLL_H */
+@@ -1965,7 +1965,7 @@
+ /*****************************************************************************/
+ oslSocketAddr SAL_CALL osl_getLocalAddrOfSocket(oslSocket pSocket)
+ {
+-#ifdef LINUX
++#ifdef LINUX || defined(FREEBSD)
+ socklen_t AddrLen;
+ #else
+ /* mfe: Solaris 'cc +w' means Addrlen should be signed! */