freebsd-ports/editors/openoffice.org-2-RC/files/patch-sal+osl+unx+pipe.c
Martin Blapp a31c45a0b4 Upgrade to build 641d. More work is necessary to make the build compile.
There are still at least two different gcc bugs in our compiler, one
issue has already been found by Alexander Kabaev <ak03@gte.com>. He's
working on fixing the other.
2002-04-02 23:48:28 +00:00

14 lines
346 B
C

--- ../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
@@ -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);
+#else
len = sizeof(addr);
+#endif
if ( Options & osl_Pipe_CREATE )
{