summaryrefslogtreecommitdiff
path: root/devel/xulrunner17/patches/patch-as
blob: 8cb07dc2ca646347b3d2c134811e7de2aea4acdb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
$NetBSD: patch-as,v 1.1 2013/01/10 16:17:10 ryoon Exp $

Treat DragonFly like FreeBSD.

--- js/src/configure.in.orig	2012-11-19 17:00:00.000000000 +0000
+++ js/src/configure.in
@@ -2701,7 +2701,7 @@ then
     fi
 
 	case "$target" in
-	    *-*-freebsd*)
+	    *-*-freebsd*|*-dragonfly*)
 			AC_DEFINE(_REENTRANT)
 			AC_DEFINE(_THREAD_SAFE)
 			dnl -pthread links in -lpthread, so don't specify it explicitly.
@@ -3545,7 +3545,7 @@ if test "$MOZ_MEMORY"; then
   *-darwin*)
     AC_DEFINE(MOZ_MEMORY_DARWIN)
     ;;
-  *-*freebsd*)
+  *-*freebsd*|*-*dragonfly*)
     AC_DEFINE(MOZ_MEMORY_BSD)
     ;;
   *-android*|*-linuxandroid*)