[patch] to make openoffice.org-2.0 build with mozilla enabled on
-current
Stephane E. Potvin
sepotvin at videotron.ca
Wed May 31 12:10:29 PDT 2006
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
-------------- next part --------------
--- 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
+
More information about the freebsd-openoffice
mailing list