diff options
author | ghen <ghen@pkgsrc.org> | 2006-02-05 21:56:20 +0000 |
---|---|---|
committer | ghen <ghen@pkgsrc.org> | 2006-02-05 21:56:20 +0000 |
commit | 3f94eaf145910676363a1cf9251aef5afa15d6bc (patch) | |
tree | 53bbeed220ca533c94e28557bd2cfc00a116b3f8 /time/sunbird/patches/patch-bm | |
parent | 1261f1d4fe30ef9d4684af8575e2a18eac94c951 (diff) | |
download | pkgsrc-3f94eaf145910676363a1cf9251aef5afa15d6bc.tar.gz |
Import Mozilla Sunbird, a stand-alone Calendar application:
The Sunbird Project is a redesign of the Calendar component. The goal is to
produce a cross platform standalone calendar application based on Mozilla's
XUL user interface language. At the moment the Sunbird name is a project
name. It is not official and may change in the future.
The intended user is someone who uses Mozilla Firefox and Mozilla
Thunderbird and wants a calendar application based on Mozilla.
Ok with wiz. I'll add a -gtk1 version later this week.
Diffstat (limited to 'time/sunbird/patches/patch-bm')
-rw-r--r-- | time/sunbird/patches/patch-bm | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/time/sunbird/patches/patch-bm b/time/sunbird/patches/patch-bm new file mode 100644 index 00000000000..c0df184b44b --- /dev/null +++ b/time/sunbird/patches/patch-bm @@ -0,0 +1,31 @@ +$NetBSD: patch-bm,v 1.1.1.1 2006/02/05 21:56:26 ghen Exp $ + +--- xpcom/reflect/xptcall/src/md/unix/xptcstubs_arm_netbsd.cpp.orig 2006-02-02 16:57:57.000000000 +0100 ++++ xpcom/reflect/xptcall/src/md/unix/xptcstubs_arm_netbsd.cpp +@@ -118,18 +118,23 @@ PrepareAndDispatch(nsXPTCStubBase* self, + * so they are contiguous with values passed on the stack, and then calls + * PrepareAndDispatch() to do the dirty work. + */ ++#ifndef __ELF__ ++#define SYMBOLPREFIX "_" ++#else ++#define SYMBOLPREFIX ++#endif + + #define STUB_ENTRY(n) \ + __asm__( \ +- ".global _Stub"#n"__14nsXPTCStubBase\n\t" \ +-"_Stub"#n"__14nsXPTCStubBase:\n\t" \ ++ ".global "SYMBOLPREFIX"Stub"#n"__14nsXPTCStubBase\n\t" \ ++SYMBOLPREFIX"Stub"#n"__14nsXPTCStubBase:\n\t" \ + "stmfd sp!, {r1, r2, r3} \n\t" \ + "mov ip, sp \n\t" \ + "stmfd sp!, {fp, ip, lr, pc} \n\t" \ + "sub fp, ip, #4 \n\t" \ + "mov r1, #"#n" \n\t" /* = methodIndex */ \ + "add r2, sp, #16 \n\t" \ +- "bl _PrepareAndDispatch__FP14nsXPTCStubBaseUiPUi \n\t" \ ++ "bl "SYMBOLPREFIX"PrepareAndDispatch__FP14nsXPTCStubBaseUiPUi \n\t" \ + "ldmea fp, {fp, sp, lr} \n\t" \ + "add sp, sp, #12 \n\t" \ + "mov pc, lr \n\t" \ |