Date: Tue, 13 Jun 2006 16:53:21 -0400 From: Diane Bruce <db@db.net> To: openoffice@FreeBSD.org Subject: patch for openoffice 2.0 under freebsd-current Message-ID: <20060613205321.GA6331@heceta.db.net>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060613205321.GA6331>