summaryrefslogtreecommitdiff
path: root/time/sunbird/patches/patch-aq
diff options
context:
space:
mode:
Diffstat (limited to 'time/sunbird/patches/patch-aq')
-rw-r--r--time/sunbird/patches/patch-aq52
1 files changed, 49 insertions, 3 deletions
diff --git a/time/sunbird/patches/patch-aq b/time/sunbird/patches/patch-aq
index 4a2db4f7cf5..03493cd6492 100644
--- a/time/sunbird/patches/patch-aq
+++ b/time/sunbird/patches/patch-aq
@@ -1,8 +1,8 @@
-$NetBSD: patch-aq,v 1.1.1.1 2006/02/05 21:56:26 ghen Exp $
+$NetBSD: patch-aq,v 1.2 2006/06/27 11:11:52 joerg Exp $
---- directory/c-sdk/configure.in.orig 2006-02-02 16:57:57.000000000 +0100
+--- directory/c-sdk/configure.in.orig 2006-04-11 21:12:58.000000000 +0000
+++ directory/c-sdk/configure.in
-@@ -54,7 +54,7 @@ USE_64=
+@@ -58,7 +58,7 @@ USE_64=
USE_CPLUS=
USE_IPV6=
USE_MDUPDATE=
@@ -11,3 +11,49 @@ $NetBSD: patch-aq,v 1.1.1.1 2006/02/05 21:56:26 ghen Exp $
_DEBUG_FLAGS=-g
MOZ_DEBUG=1
MOZ_OPTIMIZE=
+@@ -1183,6 +1183,24 @@ tools are selected during the Xcode/Deve
+ DSO_LDOPTS=-Bshareable
+ ;;
+
++*-*-dragonfly*)
++ if test -z "$USE_NSPR_THREADS"; then
++ USE_PTHREADS=1
++ fi
++ AC_DEFINE(XP_UNIX)
++ AC_DEFINE(DRAGONFLY)
++ AC_DEFINE(HAVE_BSD_FLOCK)
++ CFLAGS="$CFLAGS $(DSO_CFLAGS) -ansi -Wall"
++ MOZ_OBJFORMAT=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
++ if test "$MOZ_OBJFORMAT" = "elf"; then
++ DLL_SUFFIX=so
++ else
++ DLL_SUFFIX=so.1.0
++ fi
++ DSO_CFLAGS=-fPIC
++ DSO_LDOPTS=-Bshareable
++ ;;
++
+ *-hpux*)
+ AC_DEFINE(XP_UNIX)
+ AC_DEFINE(HPUX)
+@@ -2270,7 +2288,7 @@ if test -n "$USE_PTHREADS"; then
+ _PTHREAD_LDFLAGS=
+ fi
+ ;;
+- *-freebsd*|*-openbsd*|*-bsdi*|*-netbsd*)
++ *-freebsd*|*-openbsd*|*-bsdi*|*-netbsd*|*-*-dragonfly*)
+ AC_DEFINE(_THREAD_SAFE)
+ dnl -pthread links in -lc_r, so don't specify it explicitly.
+ if test "$ac_cv_have_dash_pthread" = "yes"; then
+@@ -2328,6 +2346,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)