- register build conflict with spidermonkey until the firefox build failure can be fixed [2] PR: ports/159709 [1] ports/159831 [2] Submitted by: Ruslan Mahmatkhanov <cvs-src@yandex.ru> [1]
30 lines
804 B
C
30 lines
804 B
C
--- nsprpub/pr/include/md/_freebsd.h.orig 2010-12-23 17:34:13.000000000 +0100
|
|
+++ nsprpub/pr/include/md/_freebsd.h 2010-12-23 17:34:46.000000000 +0100
|
|
@@ -57,6 +57,10 @@
|
|
#define _PR_SI_ARCHITECTURE "ia64"
|
|
#elif defined(__amd64__)
|
|
#define _PR_SI_ARCHITECTURE "amd64"
|
|
+#elif defined(__powerpc64__)
|
|
+#define _PR_SI_ARCHITECTURE "powerpc64"
|
|
+#elif defined(__powerpc__)
|
|
+#define _PR_SI_ARCHITECTURE "powerpc"
|
|
#else
|
|
#error "Unknown CPU architecture"
|
|
#endif
|
|
@@ -106,6 +110,16 @@
|
|
#define _PR_IPV6_V6ONLY_PROBE
|
|
#endif
|
|
|
|
+#if (__FreeBSD_version >= 700016)
|
|
+#if defined(_PR_PTHREADS)
|
|
+#define _PR_HAVE_GETPROTO_R
|
|
+#define _PR_HAVE_5_ARG_GETPROTO_R
|
|
+#define _PR_HAVE_GETHOST_R
|
|
+#define _PR_HAVE_GETHOST_R_INT
|
|
+#define _PR_HAVE_THREADSAFE_GETHOST
|
|
+#endif
|
|
+#endif
|
|
+
|
|
#define USE_SETJMP
|
|
|
|
#ifndef _PR_PTHREADS
|