From owner-freebsd-openoffice Wed Oct 23 10:35:26 2002 Delivered-To: freebsd-openoffice@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 30E4337B401 for ; Wed, 23 Oct 2002 10:35:25 -0700 (PDT) Received: from fever.boogie.com (cpe-66-87-52-132.co.sprintbbd.net [66.87.52.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2796643E6A for ; Wed, 23 Oct 2002 10:35:24 -0700 (PDT) (envelope-from durian@fever.boogie.com) Received: from man.boogie.com (man.boogie.com [192.168.1.3]) by fever.boogie.com (8.12.6/8.12.6) with ESMTP id g9NHZF8H088599 for ; Wed, 23 Oct 2002 11:35:15 -0600 (MDT) (envelope-from durian@fever.boogie.com) Received: from localhost (localhost [127.0.0.1]) by man.boogie.com (8.12.6/8.12.6) with ESMTP id g9NHZEtY043353 for ; Wed, 23 Oct 2002 11:35:15 -0600 (MDT) (envelope-from durian@man.boogie.com) Message-Id: <200210231735.g9NHZEtY043353@man.boogie.com> From: "Mike Durian" To: openoffice@FreeBSD.org Subject: openoffice-devel build problem Date: Wed, 23 Oct 2002 11:35:14 -0600 Sender: owner-freebsd-openoffice@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 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 #else #define _POSIX_SOURCE To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-openoffice" in the body of the message