aboutsummaryrefslogtreecommitdiffstats
path: root/editors/openoffice.org-2-RC
diff options
context:
space:
mode:
authormbr <mbr@FreeBSD.org>2002-10-23 07:14:19 +0800
committermbr <mbr@FreeBSD.org>2002-10-23 07:14:19 +0800
commita829bc12f68e70fa4ca676e9e530a824d15f3797 (patch)
tree3a41c78ea276dbe4eccd6c94895f9f29d0db80b1 /editors/openoffice.org-2-RC
parent9669663c61875be05131feeacb385af0137ae847 (diff)
downloadfreebsd-ports-graphics-a829bc12f68e70fa4ca676e9e530a824d15f3797.tar.gz
freebsd-ports-graphics-a829bc12f68e70fa4ca676e9e530a824d15f3797.tar.zst
freebsd-ports-graphics-a829bc12f68e70fa4ca676e9e530a824d15f3797.zip
Use SUN_LEN makro for unix domain socket name lenght.
Diffstat (limited to 'editors/openoffice.org-2-RC')
-rw-r--r--editors/openoffice.org-2-RC/files/patch-sal+osl+unx+pipe.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/editors/openoffice.org-2-RC/files/patch-sal+osl+unx+pipe.c b/editors/openoffice.org-2-RC/files/patch-sal+osl+unx+pipe.c
index 217bd0be4d5..4aa7b8af1a6 100644
--- a/editors/openoffice.org-2-RC/files/patch-sal+osl+unx+pipe.c
+++ b/editors/openoffice.org-2-RC/files/patch-sal+osl+unx+pipe.c
@@ -1,11 +1,11 @@
---- ../sal/osl/unx/pipe.c.orig Mon Feb 18 13:48:55 2002
-+++ ../sal/osl/unx/pipe.c Wed Apr 3 00:59:15 2002
+--- ../sal/osl/unx/pipe.c.orig Thu Jul 11 16:01:39 2002
++++ ../sal/osl/unx/pipe.c Fri Oct 18 19:56:38 2002
@@ -264,7 +264,11 @@
addr.sun_family = AF_UNIX;
strncpy(addr.sun_path, name, sizeof(addr.sun_path));
+#if defined(FREEBSD)
-+ len = SUN_LEN(&addr);
++ len = SUN_LEN(&addr);
+#else
len = sizeof(addr);
+#endif