diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2013-04-12 14:11:57 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2013-04-12 14:11:57 +0200 |
commit | b0580f26f7a01fbc0a6482e637d64f550c55da40 (patch) | |
tree | 8f0af057612eb93529ad1194bbe87e4f8f88972c /package/firefox/patches/patch-js_src_jsprf_cpp | |
parent | 1465e15f735333d9b8686a3eb56b151bb3d9426e (diff) |
allow firefox to compile
Diffstat (limited to 'package/firefox/patches/patch-js_src_jsprf_cpp')
-rw-r--r-- | package/firefox/patches/patch-js_src_jsprf_cpp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/package/firefox/patches/patch-js_src_jsprf_cpp b/package/firefox/patches/patch-js_src_jsprf_cpp new file mode 100644 index 000000000..c793f6bac --- /dev/null +++ b/package/firefox/patches/patch-js_src_jsprf_cpp @@ -0,0 +1,20 @@ +--- mozilla-release.orig/js/src/jsprf.cpp 2011-07-08 03:15:24.000000000 +0200 ++++ mozilla-release/js/src/jsprf.cpp 2013-04-04 16:21:34.000000000 +0200 +@@ -54,17 +54,7 @@ + + using namespace js; + +-/* +-** Note: on some platforms va_list is defined as an array, +-** and requires array notation. +-*/ +-#ifdef HAVE_VA_COPY +-#define VARARGS_ASSIGN(foo, bar) VA_COPY(foo,bar) +-#elif defined(HAVE_VA_LIST_AS_ARRAY) +-#define VARARGS_ASSIGN(foo, bar) foo[0] = bar[0] +-#else + #define VARARGS_ASSIGN(foo, bar) (foo) = (bar) +-#endif + + /* + ** WARNING: This code may *NOT* call JS_LOG (because JS_LOG calls it) |