summaryrefslogtreecommitdiff
path: root/www/libxul/files/patch-bug854936
diff options
context:
space:
mode:
Diffstat (limited to 'www/libxul/files/patch-bug854936')
-rw-r--r--www/libxul/files/patch-bug85493622
1 files changed, 22 insertions, 0 deletions
diff --git a/www/libxul/files/patch-bug854936 b/www/libxul/files/patch-bug854936
new file mode 100644
index 000000000000..a8ac9ffb98e5
--- /dev/null
+++ b/www/libxul/files/patch-bug854936
@@ -0,0 +1,22 @@
+--- xpcom/reflect/xptcall/src/md/unix/xptcinvoke_gcc_x86_unix.cpp~
++++ xpcom/reflect/xptcall/src/md/unix/xptcinvoke_gcc_x86_unix.cpp
+@@ -9,7 +9,7 @@
+ #include "xptc_gcc_x86_unix.h"
+
+ extern "C" {
+-static void ATTRIBUTE_USED __attribute__ ((regparm(3)))
++void ATTRIBUTE_USED __attribute__ ((regparm(3)))
+ invoke_copy_to_stack(uint32_t paramCount, nsXPTCVariant* s, uint32_t* d)
+ {
+ for(uint32_t i = paramCount; i >0; i--, d++, s++)
+--- xpcom/reflect/xptcall/src/md/unix/xptcstubs_gcc_x86_unix.cpp~
++++ xpcom/reflect/xptcall/src/md/unix/xptcstubs_gcc_x86_unix.cpp
+@@ -10,7 +10,7 @@
+ #include "xptc_gcc_x86_unix.h"
+
+ extern "C" {
+-static nsresult ATTRIBUTE_USED
++nsresult ATTRIBUTE_USED
+ __attribute__ ((regparm (3)))
+ PrepareAndDispatch(uint32_t methodIndex, nsXPTCStubBase* self, uint32_t* args)
+ {