patch for openoffice 2.0 under freebsd-current
Diane Bruce
db at db.net
Tue Jun 13 20:53:23 UTC 2006
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
More information about the freebsd-openoffice
mailing list