diff options
author | xtraeme <xtraeme@pkgsrc.org> | 2004-02-29 17:44:31 +0000 |
---|---|---|
committer | xtraeme <xtraeme@pkgsrc.org> | 2004-02-29 17:44:31 +0000 |
commit | 501a46affb20121705ec1477488fc2c62e32db28 (patch) | |
tree | 86a79bb483f37ed96ebc0dacbf7b82f64d501bbe /www/firefox/patches/patch-bm | |
parent | c1beb9fb915d12dfa07a3ddd57ea5a09e77cd019 (diff) | |
download | pkgsrc-501a46affb20121705ec1477488fc2c62e32db28.tar.gz |
Initial import of firefox-0.8, provided by Kouichirou Hiratsuka
in PR pkg/24603.
Mozilla Firefox is a free, open-source and cross-platform web browser
for Windows, Linux, MacOS X and many other operating systems. It is
small, fast and easy to use, and offers many advantages over other web
browsers, such as tabbed browsing and the ability to block pop-up
windows.
Firefox also offers excellent bookmark and history management, and it
can be extended by developers using industry standards such as XML,
CSS, JavaScript, C++, etc. Many extensions are available.
Diffstat (limited to 'www/firefox/patches/patch-bm')
-rw-r--r-- | www/firefox/patches/patch-bm | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/www/firefox/patches/patch-bm b/www/firefox/patches/patch-bm new file mode 100644 index 00000000000..c5798c6505b --- /dev/null +++ b/www/firefox/patches/patch-bm @@ -0,0 +1,32 @@ +$NetBSD: patch-bm,v 1.1.1.1 2004/02/29 17:45:02 xtraeme Exp $ + +diff -ru ../Orig/mozilla/xpcom/reflect/xptcall/src/md/unix/xptcstubs_arm_netbsd.cpp ./xpcom/reflect/xptcall/src/md/unix/xptcstubs_arm_netbsd.cpp +--- ../Orig/mozilla/xpcom/reflect/xptcall/src/md/unix/xptcstubs_arm_netbsd.cpp 2001-09-29 05:12:52.000000000 +0900 ++++ ./xpcom/reflect/xptcall/src/md/unix/xptcstubs_arm_netbsd.cpp 2003-10-20 10:19:13.000000000 +0900 +@@ -118,18 +118,23 @@ + * 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" \ |