summaryrefslogtreecommitdiff
path: root/www/firefox/patches/patch-dc
diff options
context:
space:
mode:
authorjoerg <joerg>2005-10-12 16:39:24 +0000
committerjoerg <joerg>2005-10-12 16:39:24 +0000
commit53a02e190bdee802da858833b4bcb47bcfbfba52 (patch)
tree023fa16525b21d2519e8dc90a7e4657d099b69c8 /www/firefox/patches/patch-dc
parentbed996b50520935ab9c4ddc213b5734bf2ed544f (diff)
downloadpkgsrc-53a02e190bdee802da858833b4bcb47bcfbfba52.tar.gz
Add DragonFly support for Firefox 1.0.7.
Diffstat (limited to 'www/firefox/patches/patch-dc')
-rw-r--r--www/firefox/patches/patch-dc22
1 files changed, 22 insertions, 0 deletions
diff --git a/www/firefox/patches/patch-dc b/www/firefox/patches/patch-dc
new file mode 100644
index 00000000000..eaa2dbae6e4
--- /dev/null
+++ b/www/firefox/patches/patch-dc
@@ -0,0 +1,22 @@
+$NetBSD: patch-dc,v 1.1 2005/10/12 16:39:25 joerg Exp $
+
+--- gc/boehm/mach_dep.c.orig 2004-11-17 10:30:03.000000000 +0100
++++ gc/boehm/mach_dep.c 2004-11-17 10:30:50.000000000 +0100
+@@ -206,7 +206,7 @@
+ && !defined(SCO) && !defined(SCO_ELF) \
+ && !(defined(LINUX) && defined(__ELF__)) \
+ && !(defined(__FreeBSD__) && defined(__ELF__)) \
+- && !defined(DOS4GW)
++ && !defined(DOS4GW) && !(defined(__DragonFly__) && defined(__ELF__))
+ /* I386 code, generic code does not appear to work */
+ /* It does appear to work under OS2, and asms dont */
+ /* This is used for some 38g UNIX variants and for CYGWIN32 */
+@@ -220,7 +220,7 @@
+ # endif
+
+ # if ( defined(I386) && defined(LINUX) && defined(__ELF__) ) \
+- || ( defined(I386) && defined(__FreeBSD__) && defined(__ELF__) )
++ || ( defined(I386) && (defined(__FreeBSD__) || defined(__DragonFly__)) && defined(__ELF__) )
+
+ /* This is modified for Linux with ELF (Note: _ELF_ only) */
+ /* This section handles FreeBSD with ELF. */