From owner-freebsd-openoffice@FreeBSD.ORG Sun Feb 12 21:44:25 2012 Return-Path: Delivered-To: openoffice@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 545141065670; Sun, 12 Feb 2012 21:44:25 +0000 (UTC) (envelope-from truckman@FreeBSD.org) Received: from gw.catspoiler.org (gw.catspoiler.org [75.1.14.242]) by mx1.freebsd.org (Postfix) with ESMTP id 322848FC08; Sun, 12 Feb 2012 21:44:24 +0000 (UTC) Received: from FreeBSD.org (mousie.catspoiler.org [192.168.101.2]) by gw.catspoiler.org (8.13.3/8.13.3) with ESMTP id q1CLVtUv065578; Sun, 12 Feb 2012 13:31:59 -0800 (PST) (envelope-from truckman@FreeBSD.org) Message-Id: <201202122131.q1CLVtUv065578@gw.catspoiler.org> Date: Sun, 12 Feb 2012 13:31:55 -0800 (PST) From: Don Lewis To: chat95@mac.com In-Reply-To: <20120210.171025.242248465990744528.chat95@mac.com> MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Cc: lstewart@FreeBSD.org, freebsd-ports@FreeBSD.org, openoffice@FreeBSD.org Subject: Re: OO 3.3.0 fails to build "connectivity" module on amd64 9-STABLE X-BeenThere: freebsd-openoffice@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting OpenOffice to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Feb 2012 21:44:25 -0000 On 10 Feb, Maho NAKATA wrote: > Hi > > I also reproduced, and pointy hat, either. > It looks like ooo port is broken again... On 10-CURRENT I needed the following patch to even make it to the "connectivity" problem. The problem is that defining POSIX_SOURCE now hides the locale_t definition. --- /dev/null 2012-02-11 16:33:00.000000000 -0800 +++ libxslt/libxslt-libexslt-date_c.patch 2012-02-11 16:40:50.000000000 -0800 @@ -0,0 +1,11 @@ +--- misc/build/libxslt-1.1.26/libexslt/date.c.orig 2009-09-17 07:51:10.000000000 -0700 ++++ misc/build/libxslt-1.1.26/libexslt/date.c 2012-02-11 16:40:48.000000000 -0800 +@@ -29,7 +29,7 @@ + #endif + + #if HAVE_LOCALTIME_R /* _POSIX_SOURCE required by gnu libc */ +-#ifndef _AIX51 /* but on AIX we're not using gnu libc */ ++#if !defined(_AIX51) && !defined(__FreeBSD__) /* but on AIX or FreeBSD we're not using gnu libc */ + #define _POSIX_SOURCE + #endif + #endif --- libxslt/makefile.mk.orig 2011-01-18 05:34:25.000000000 -0800 +++ libxslt/makefile.mk 2012-02-11 22:25:14.000000000 -0800 @@ -55,6 +55,7 @@ PATCH_FILES=libxslt-configure.patch \ libxslt-win_manifest.patch \ libxslt-mingw.patch \ + libxslt-libexslt-date_c.patch \ libxslt-internal-symbols.patch