summaryrefslogtreecommitdiff
path: root/time/sunbird/patches/patch-bo
diff options
context:
space:
mode:
Diffstat (limited to 'time/sunbird/patches/patch-bo')
-rw-r--r--time/sunbird/patches/patch-bo54
1 files changed, 49 insertions, 5 deletions
diff --git a/time/sunbird/patches/patch-bo b/time/sunbird/patches/patch-bo
index 954593655a6..2c8a7020ca4 100644
--- a/time/sunbird/patches/patch-bo
+++ b/time/sunbird/patches/patch-bo
@@ -1,8 +1,8 @@
-$NetBSD: patch-bo,v 1.1.1.1 2006/02/05 21:56:26 ghen Exp $
+$NetBSD: patch-bo,v 1.2 2006/06/27 11:11:52 joerg Exp $
---- nsprpub/configure.in.orig 2006-02-02 16:57:57.000000000 +0100
+--- nsprpub/configure.in.orig 2006-04-28 00:53:35.000000000 +0000
+++ nsprpub/configure.in
-@@ -58,7 +58,7 @@ USE_CPLUS=
+@@ -62,7 +62,7 @@ USE_CPLUS=
USE_IPV6=
USE_MDUPDATE=
_MACOSX_DEPLOYMENT_TARGET=
@@ -11,17 +11,38 @@ $NetBSD: patch-bo,v 1.1.1.1 2006/02/05 21:56:26 ghen Exp $
_DEBUG_FLAGS=-g
MOZ_DEBUG=1
MOZ_OPTIMIZE=
-@@ -1087,6 +1087,9 @@ tools are selected during the Xcode/Deve
+@@ -1133,6 +1133,30 @@ tools are selected during the Xcode/Deve
DSO_LDOPTS='-shared -Wl,-soname -Wl,$(notdir $@)'
MDCPUCFG_H=_freebsd.cfg
PR_MD_CSRCS=freebsd.c
+ if test "$LIBRUNPATH"; then
+ DSO_LDOPTS="$DSO_LDOPTS -Wl,-R$LIBRUNPATH"
+ fi
++ ;;
++
++*-dragonfly*)
++ if test -z "$USE_NSPR_THREADS"; then
++ USE_PTHREADS=1
++ fi
++ AC_DEFINE(XP_UNIX)
++ AC_DEFINE(DRAGONFLY)
++ AC_DEFINE(HAVE_BSD_FLOCK)
++ AC_DEFINE(HAVE_SOCKLEN_T)
++ CFLAGS="$CFLAGS $(DSO_CFLAGS) -ansi -Wall"
++ MOZ_OBJFORMAT=elf
++ DLL_SUFFIX=so
++ MKSHLIB='$(CC) $(DSO_LDOPTS) -o $@'
++ DSO_CFLAGS=-fPIC
++ DSO_LDOPTS='-shared -Wl,-soname -Wl,$(notdir $@)'
++ MDCPUCFG_H=_freebsd.cfg
++ PR_MD_CSRCS=freebsd.c
++ if test "$LIBRUNPATH"; then
++ DSO_LDOPTS="$DSO_LDOPTS -Wl,-R$LIBRUNPATH"
++ fi
;;
*-hpux*)
-@@ -1600,6 +1603,7 @@ mips-nec-sysv*)
+@@ -1660,6 +1684,7 @@ mips-nec-sysv*)
AC_DEFINE(XP_UNIX)
AC_DEFINE(NETBSD)
AC_DEFINE(HAVE_BSD_FLOCK)
@@ -29,3 +50,26 @@ $NetBSD: patch-bo,v 1.1.1.1 2006/02/05 21:56:26 ghen Exp $
USE_NSPR_THREADS=1
MDCPUCFG_H=_netbsd.cfg
PR_MD_CSRCS=netbsd.c
+@@ -2472,6 +2497,10 @@ if test -n "$USE_PTHREADS"; then
+ _PTHREAD_LDFLAGS="-lc_r"
+ fi
+ ;;
++ *-freebsd*)
++ AC_DEFINE(_REENTRANT)
++ _PTHREAD_LDFLAGS="-pthread"
++ ;;
+ *-netbsd*)
+ if test "$ac_cv_have_dash_pthread" = "yes"; then
+ _PTHREAD_LDFLAGS="-pthread"
+@@ -2548,6 +2577,11 @@ case "$target" in
+ AC_DEFINE(_PR_LOCAL_THREADS_ONLY)
+ fi
+ ;;
++*-dragonfly*)
++ if test -n "$USE_NSPR_THREADS"; then
++ AC_DEFINE(_PR_LOCAL_THREADS_ONLY)
++ fi
++ ;;
+ *-hpux*)
+ if test -n "$USE_NSPR_THREADS"; then
+ AC_DEFINE(_PR_LOCAL_THREADS_ONLY)