From owner-freebsd-openoffice@FreeBSD.ORG Tue Jun 13 20:53:23 2006 Return-Path: X-Original-To: openoffice@FreeBSD.org 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 17DD616A47B for ; Tue, 13 Jun 2006 20:53:23 +0000 (UTC) (envelope-from db@db.net) Received: from heceta.db.net (heceta.db.net [142.46.199.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id C8F7243D6E for ; Tue, 13 Jun 2006 20:53:22 +0000 (GMT) (envelope-from db@db.net) Received: from db by heceta.db.net with local (Exim 4.60 (FreeBSD)) (envelope-from ) id 1FqFt3-0001eQ-Op; Tue, 13 Jun 2006 16:53:21 -0400 Date: Tue, 13 Jun 2006 16:53:21 -0400 From: Diane Bruce To: openoffice@FreeBSD.org Message-ID: <20060613205321.GA6331@heceta.db.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Description: b Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Cc: Subject: patch for openoffice 2.0 under freebsd-current 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: Tue, 13 Jun 2006 20:53:23 -0000 Hi, The definition of netdb.h has changed. I'm not sure this diff is totally right, but it is now compiling here. --- moz/unxfbsdi.pro/misc/build/mozilla/nsprpub/pr/src/misc/prnetdb.c.orig Tue Jun 13 14:21:39 2006 +++ moz/unxfbsdi.pro/misc/build/mozilla/nsprpub/pr/src/misc/prnetdb.c Tue Jun 13 16:37:13 2006 @@ -105,7 +105,8 @@ #define _PR_HAVE_GETPROTO_R_INT #endif -#if (defined(LINUX) && defined(__GLIBC__) && __GLIBC__ >= 2) +#if (defined(LINUX) && defined(__GLIBC__) && __GLIBC__ >= 2) || \ + (defined(__FreeBSD__) && __FreeBSD_version > 700016) #define _PR_HAVE_GETPROTO_R #define _PR_HAVE_5_ARG_GETPROTO_R #endif @@ -1167,6 +1168,7 @@ * is such a definition, use it. Otherwise, grab a lock and do it here. */ /******************************************************************************/ + #if !defined(_PR_HAVE_GETPROTO_R) /* -- Diane