diff options
author | joerg <joerg> | 2005-10-12 16:39:24 +0000 |
---|---|---|
committer | joerg <joerg> | 2005-10-12 16:39:24 +0000 |
commit | 53a02e190bdee802da858833b4bcb47bcfbfba52 (patch) | |
tree | 023fa16525b21d2519e8dc90a7e4657d099b69c8 /www/firefox/patches/patch-dh | |
parent | bed996b50520935ab9c4ddc213b5734bf2ed544f (diff) | |
download | pkgsrc-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-dh | 18 |
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 |