rendered paste bodypatch <<__EOF__
--- nsprpub/pr/include/md/_freebsd.h.orig Sat Sep 30 22:19:12 2006
+++ nsprpub/pr/include/md/_freebsd.h Sat Sep 30 22:23:16 2006
@@ -106,6 +106,11 @@
#define _PR_IPV6_V6ONLY_PROBE
#endif
+#if __FreeBSD_version >= 601103
+#define _PR_HAVE_GETPROTO_R
+#define _PR_HAVE_5_ARG_GETPROTO_R
+#endif
+
#define USE_SETJMP
#ifndef _PR_PTHREADS
__EOF__
arch=`uname -m`
opts=""
if [ $arch = "x86_64" ] ; then
opts="--enable-64bit"
fi
cp js/conf/Linux_All.mk js/conf/`uname -s``uname -r'.mk
cd nsprpub && ./configure $opts && $MAKE
cd ../js/src && JS_THREADSAFE=1 JS_HAS_FILE_OBJECT=1 OTHER_LIBS="-L../../../mozilla/nsprpub/dist/lib" INCLUDES="-I../../../mozilla/nsprpub/dist/include/nspr" $MAKE -f Makefile.ref `find . -name libjs.a`
Result:
x mozilla/js/src/perlconnect/typemap
Hmm... Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- nsprpub/pr/include/md/_freebsd.h.orig Sat Sep 30 22:19:12 2006
|+++ nsprpub/pr/include/md/_freebsd.h Sat Sep 30 22:23:16 2006
--------------------------
Patching file nsprpub/pr/include/md/_freebsd.h using Plan A...
Hunk #1 succeeded at 106.
Hmm... Ignoring the trailing garbage.
done
../mozilla.build.sh: 32: Syntax error: EOF in backquote substitution
ERROR
gmake[1]: *** [depends] Error 1
gmake[1]: Leaving directory `/usr/src/freeswitch/src/mod/languages/mod_spidermonkey'
gmake: *** [modules] Error 1