Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 May 2006 15:10:09 -0400
From:      "Stephane E. Potvin" <sepotvin@videotron.ca>
To:        openoffice@FreeBSD.org
Subject:   [patch] to make openoffice.org-2.0 build with mozilla enabled on -current
Message-ID:  <447DEA11.9040105@videotron.ca>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
To make openoffice.org-2.0 build on -current when the mozilla
connectivity is enabled, the attached patch is required after the
addition of gethostbyname_r to libc. The patch was adapted from the
devel/nspr port. I expect that a similar patch will be needed for the
-devel version of the port but I haven't checked if it's usable verbatim
(is the -devel version also using mozilla 1.7.5?)

Regards,

Steph

[-- Attachment #2 --]
--- moz/mozilla-source-1.7.5.patch.orig	Wed May 31 11:30:36 2006
+++ moz/mozilla-source-1.7.5.patch	Wed May 31 11:26:26 2006
@@ -7697,3 +7697,18 @@
   
   # Force applications to be built non-statically
   # when building the mozcomps meta component
+--- misc/mozilla/nsprpub/pr/include/md/_freebsd.h.orig    Sat Apr 22 17:14:55 2006
++++ misc/build/mozilla/nsprpub/pr/include/md/_freebsd.h Sat Apr 22 17:14:47 2006
+@@ -106,6 +106,11 @@
+ #define _PR_IPV6_V6ONLY_PROBE
+ #endif
+
++#if __FreeBSD_version >= 700016
++#define _PR_HAVE_GETPROTO_R
++#define _PR_HAVE_5_ARG_GETPROTO_R
++#endif
++
+ #define USE_SETJMP
+
+ #ifndef _PR_PTHREADS
+

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?447DEA11.9040105>