]> gitweb @ CieloNegro.org - pkgsrc-firefox3.git/blob - patches/patch-dh
Initial revision of the upstream www/firefox3
[pkgsrc-firefox3.git] / patches / patch-dh
1 $NetBSD: patch-dh,v 1.1.1.1 2008/06/28 10:01:07 tnn Exp $
2
3 diff -ruN ../Orig/mozilla/xpcom/reflect/xptcall/src/md/unix/xptc_platforms_unixish_x86.h ./xpcom/reflect/xptcall/src/md/unix/xptc_platforms_unixish_x86.h
4 --- ../Orig/mozilla/xpcom/reflect/xptcall/src/md/unix/xptc_platforms_unixish_x86.h      2004-04-18 23:18:18.000000000 +0900
5 +++ ./xpcom/reflect/xptcall/src/md/unix/xptc_platforms_unixish_x86.h    2005-12-04 19:44:41.000000000 +0900
6 @@ -77,6 +77,13 @@
7  #define THUNK_BASED_THIS_ADJUST
8  #endif
9  
10 +#elif defined(__DragonFly__)
11 +#  if defined(__FreeBSD_cc_version)
12 +#    define CFRONT_STYLE_THIS_ADJUST
13 +#  else
14 +#    define THUNK_BASED_THIS_ADJUST
15 +#  endif
16 +
17  #elif defined(__FreeBSD__) 
18  /* System versions of gcc on FreeBSD don't use thunks.  On 3.x, the system
19   * compiler is gcc 2.7.2.3, which doesn't use thunks by default.  On 4.x and