freebsd-ports/www/mozilla/files/patch-nsprpub-pr-src-io-prprf.c
Joe Marcus Clarke 6125fcff5f * Update to 1.7
* Build the chrome and component registries in a pkg-install script so that
  the resulting paths are correct [1]

For a list of all the changes in 1.7, see
http://www.mozilla.org/releases/mozilla1.7.  This port features support for
the GSSAPI extension as well as optional gnome-vfs support.

PR:		65590 [1]
Submitted by:	thierry [1]
2004-06-28 02:18:58 +00:00

14 lines
583 B
C

--- nsprpub/pr/src/io/prprf.c.orig Mon Mar 8 22:18:19 2004
+++ nsprpub/pr/src/io/prprf.c Fri Mar 19 15:26:55 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__)) || \