aboutsummaryrefslogtreecommitdiff
path: root/www/firefox3-devel/files/patch-nsprpub-pr-src-io-prprf.c
diff options
context:
space:
mode:
Diffstat (limited to 'www/firefox3-devel/files/patch-nsprpub-pr-src-io-prprf.c')
-rw-r--r--www/firefox3-devel/files/patch-nsprpub-pr-src-io-prprf.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/www/firefox3-devel/files/patch-nsprpub-pr-src-io-prprf.c b/www/firefox3-devel/files/patch-nsprpub-pr-src-io-prprf.c
new file mode 100644
index 000000000000..8c48ad1e08fb
--- /dev/null
+++ b/www/firefox3-devel/files/patch-nsprpub-pr-src-io-prprf.c
@@ -0,0 +1,12 @@
+--- nsprpub/pr/src/io/prprf.c Wed Feb 26 15:53:42 2003
++++ nsprpub/pr/src/io/prprf.c Thu Oct 16 22:50:40 2003
+@@ -52,5 +52,8 @@
+ ** and requires array notation.
+ */
+-#if (defined(LINUX) && defined(__powerpc__)) || \
++#if defined(__amd64__)
++#include <stdarg.h>
++#define VARARGS_ASSIGN(foo, bar) va_copy((foo), (bar))
++#elif (defined(LINUX) && defined(__powerpc__)) || \
+ (defined(LINUX) && defined(__s390__)) || \
+ (defined(LINUX) && defined(__s390x__)) || \