Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Oct 2002 11:35:14 -0600
From:      "Mike Durian" <durian@boogie.com>
To:        openoffice@FreeBSD.org
Subject:   openoffice-devel build problem
Message-ID:  <200210231735.g9NHZEtY043353@man.boogie.com>

next in thread | raw e-mail | index | archive | help
I'm trying to build the new openoffice-devel port on a pretty recent -current
(about a week old or so).  I encountered a compile error with
soltools/mkdepend/main.c

It looks like there is a bug in <signal.h> with regards to _POSIX_SOURCE.
If _POSIX_SOURCE is defined, NSIG is not defined and we fail.

As a work around, this patch goes on top of the already patched main.c.

mike
--- main.c.old	Wed Oct 23 11:19:00 2002
+++ main.c	Wed Oct 23 11:29:52 2002
@@ -41,6 +41,7 @@
 #undef _POSIX_C_SOURCE
 #else
 #if defined(X_NOT_POSIX) || defined(_POSIX_SOURCE)
+#undef _POSIX_SOURCE
 #include <signal.h>
 #else
 #define _POSIX_SOURCE

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-openoffice" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210231735.g9NHZEtY043353>