summaryrefslogtreecommitdiff
path: root/www/firefox/patches/patch-dh
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-dh
parentbed996b50520935ab9c4ddc213b5734bf2ed544f (diff)
downloadpkgsrc-53a02e190bdee802da858833b4bcb47bcfbfba52.tar.gz
Add DragonFly support for Firefox 1.0.7.
Diffstat (limited to 'www/firefox/patches/patch-dh')
-rw-r--r--www/firefox/patches/patch-dh18
1 files changed, 18 insertions, 0 deletions
diff --git a/www/firefox/patches/patch-dh b/www/firefox/patches/patch-dh
new file mode 100644
index 00000000000..60774902429
--- /dev/null
+++ b/www/firefox/patches/patch-dh
@@ -0,0 +1,18 @@
+$NetBSD: patch-dh,v 1.1 2005/10/12 16:39:25 joerg Exp $
+
+--- xpcom/reflect/xptcall/src/md/unix/xptc_platforms_unixish_x86.h.orig 2004-11-17 11:30:31.000000000 +0100
++++ xpcom/reflect/xptcall/src/md/unix/xptc_platforms_unixish_x86.h 2004-11-17 11:30:50.000000000 +0100
+@@ -77,6 +77,13 @@
+ #define THUNK_BASED_THIS_ADJUST
+ #endif
+
++#elif defined(__DragonFly__)
++# if defined(__FreeBSD_cc_version)
++# define CFRONT_STYLE_THIS_ADJUST
++# else
++# define THUNK_BASED_THIS_ADJUST
++# endif
++
+ #elif defined(__FreeBSD__)
+ /* System versions of gcc on FreeBSD don't use thunks. On 3.x, the system
+ * compiler is gcc 2.7.2.3, which doesn't use thunks by default. On 4.x and