diff options
Diffstat (limited to 'www/firefox-devel/files/patch-nsprpub-pr-src-io-prprf.c')
-rw-r--r-- | www/firefox-devel/files/patch-nsprpub-pr-src-io-prprf.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/www/firefox-devel/files/patch-nsprpub-pr-src-io-prprf.c b/www/firefox-devel/files/patch-nsprpub-pr-src-io-prprf.c new file mode 100644 index 000000000..38bd959ae --- /dev/null +++ b/www/firefox-devel/files/patch-nsprpub-pr-src-io-prprf.c @@ -0,0 +1,14 @@ +--- nsprpub/pr/src/io/prprf.c.orig Mon Mar 8 22:18:19 2004 ++++ nsprpub/pr/src/io/prprf.c Tue Jun 15 13:17:30 2004 +@@ -51,7 +51,10 @@ + ** Note: on some platforms va_list is defined as an array, + ** and requires array notation. + */ +-#if (defined(LINUX) && defined(__x86_64__)) ++#if defined(__amd64__) ++#include <stdarg.h> ++#define VARARGS_ASSIGN(foo, bar) va_copy((foo), (bar)) ++#elif (defined(LINUX) && defined(__x86_64__)) + #define VARARGS_ASSIGN(foo, bar) __va_copy((foo), (bar)) + #elif (defined(LINUX) && defined(__powerpc__)) || \ + (defined(LINUX) && defined(__s390__)) || \ |