pkgsrc/devel/xulrunner/patches/patch-ah
tnn a14b596750 Import xulrunner-1.9.1 as devel/xulrunner.
XULRunner is a runtime environment for applications using the
XML User Interface Language, XUL. It is the successor of the "Gecko"
runtime environment.
2009-08-05 02:59:46 +00:00

18 lines
642 B
Text

$NetBSD: patch-ah,v 1.1.1.1 2009/08/05 02:59:48 tnn Exp $
--- xpcom/reflect/xptcall/src/md/unix/xptc_platforms_unixish_x86.h.orig 2009-06-29 18:15:33.000000000 +0200
+++ xpcom/reflect/xptcall/src/md/unix/xptc_platforms_unixish_x86.h
@@ -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