summaryrefslogtreecommitdiff
path: root/www/firefox/files/patch-nsprpub-pr-src-io-prprf.c
diff options
context:
space:
mode:
Diffstat (limited to 'www/firefox/files/patch-nsprpub-pr-src-io-prprf.c')
-rw-r--r--www/firefox/files/patch-nsprpub-pr-src-io-prprf.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/www/firefox/files/patch-nsprpub-pr-src-io-prprf.c b/www/firefox/files/patch-nsprpub-pr-src-io-prprf.c
index 29b941b60fac..38bd959aef25 100644
--- a/www/firefox/files/patch-nsprpub-pr-src-io-prprf.c
+++ b/www/firefox/files/patch-nsprpub-pr-src-io-prprf.c
@@ -1,14 +1,14 @@
-$FreeBSD$
-
---- 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 @@
+--- 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(__powerpc__)) || \
+-#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(__powerpc__)) || \
++#elif (defined(LINUX) && defined(__x86_64__))
+ #define VARARGS_ASSIGN(foo, bar) __va_copy((foo), (bar))
+ #elif (defined(LINUX) && defined(__powerpc__)) || \
(defined(LINUX) && defined(__s390__)) || \
- (defined(LINUX) && defined(__s390x__)) || \