From ccc19c2ccdf364cdcb98fe78cc6546c283cd037d Mon Sep 17 00:00:00 2001 From: kristerw Date: Mon, 1 Nov 2004 18:07:24 +0000 Subject: Use __va_copy instead of va_copy for NetBSD. This is needed on gcc 3.4 since the build use -ansi that in turn makes gcc 3.4 modify its pre- defined symbols in such a way that va_copy is not defined. --- www/firefox/distinfo | 4 ++-- www/firefox/patches/patch-bt | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'www/firefox') diff --git a/www/firefox/distinfo b/www/firefox/distinfo index 9bd2ac319a3..072591d526a 100644 --- a/www/firefox/distinfo +++ b/www/firefox/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.20 2004/10/24 05:41:25 grant Exp $ +$NetBSD: distinfo,v 1.21 2004/11/01 18:07:24 kristerw Exp $ SHA1 (firefox-0.10.1/firefox-1.0PR-source.tar.bz2) = e12f861c8e55fe591053f30e9c9259fa8e662c41 Size (firefox-0.10.1/firefox-1.0PR-source.tar.bz2) = 32380173 bytes @@ -25,7 +25,7 @@ SHA1 (patch-bo) = 357c4cacdc179191d6fe263b4eb62cc56b7ec25f SHA1 (patch-bq) = 3b8a951828b0e6906e4352027b4d36c9b1f8aaae SHA1 (patch-br) = 6311da23ec126fe0959cb19502a22c106f8f975c SHA1 (patch-bs) = 81065130c96bf966b22e6abb767a5b674dcb52cb -SHA1 (patch-bt) = 8ee09dd2acbbc0c002283b15eafbafb4f324948a +SHA1 (patch-bt) = 6e3ceb31866dfb0dba81c93446db2b21e1df9baa SHA1 (patch-bu) = db33b8651e3cb1fbf9a18dbe78e1e8288cfda0ee SHA1 (patch-bv) = 4f23dfd885131ea866f31370f1421e7c19706860 SHA1 (patch-bw) = fc3a518d3762be6e85104a6dc7fffd5ae1a463c8 diff --git a/www/firefox/patches/patch-bt b/www/firefox/patches/patch-bt index 5c828e99f52..d80dba881b8 100644 --- a/www/firefox/patches/patch-bt +++ b/www/firefox/patches/patch-bt @@ -1,4 +1,4 @@ -$NetBSD: patch-bt,v 1.2 2004/06/23 16:47:12 taya Exp $ +$NetBSD: patch-bt,v 1.3 2004/11/01 18:07:24 kristerw Exp $ diff -ru ../Orig/mozilla/nsprpub/pr/src/io/prprf.c ./nsprpub/pr/src/io/prprf.c --- ../Orig/mozilla/nsprpub/pr/src/io/prprf.c 2004-03-09 12:18:19.000000000 +0900 @@ -11,7 +11,7 @@ diff -ru ../Orig/mozilla/nsprpub/pr/src/io/prprf.c ./nsprpub/pr/src/io/prprf.c + (defined(__amd64__) || \ + (defined(__powerpc__) && __NetBSD_Version__ >= 105000000))) +#include -+#define VARARGS_ASSIGN(foo, bar) va_copy((foo), (bar)) ++#define VARARGS_ASSIGN(foo, bar) __va_copy((foo), (bar)) #elif (defined(LINUX) && defined(__powerpc__)) || \ (defined(LINUX) && defined(__s390__)) || \ (defined(LINUX) && defined(__s390x__)) || \ -- cgit v1.2.3