summaryrefslogtreecommitdiff
path: root/www/mozilla
diff options
context:
space:
mode:
authorsekiya <sekiya@pkgsrc.org>2004-10-25 13:02:15 +0000
committersekiya <sekiya@pkgsrc.org>2004-10-25 13:02:15 +0000
commit6ea45198bb8806ade6a2053ba9039baa3bff96b0 (patch)
tree3db47126ca6fc63fa958252fe5debd1224085871 /www/mozilla
parentea0e75019a290267c8cfc6a13340073343c1a430 (diff)
downloadpkgsrc-6ea45198bb8806ade6a2053ba9039baa3bff96b0.tar.gz
Force gcc34 and use the right varargs macro for amd64. Mozilla (and its
derivatives) now appears to work properly on amd64. Patches from Nicholas Joly.
Diffstat (limited to 'www/mozilla')
-rw-r--r--www/mozilla/Makefile.common6
-rw-r--r--www/mozilla/distinfo4
-rw-r--r--www/mozilla/patches/patch-bt4
3 files changed, 9 insertions, 5 deletions
diff --git a/www/mozilla/Makefile.common b/www/mozilla/Makefile.common
index 8bf157e7a15..6b9ec214bd2 100644
--- a/www/mozilla/Makefile.common
+++ b/www/mozilla/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.44 2004/08/31 02:37:57 danw Exp $
+# $NetBSD: Makefile.common,v 1.45 2004/10/25 13:02:15 sekiya Exp $
MOZ_DIST_VER?= ${MOZ_VER}
DISTNAME?= mozilla-source-${MOZ_DIST_VER}
@@ -130,6 +130,10 @@ SCRIPTS_ENV+= SUNOSLIB=${SUNOSLIB}
PTHREAD_OPTS+= native optional
+.if (${OPSYS} == "NetBSD" && ${MACHINE_ARCH} == "x86_64")
+GCC_REQD+= 3.4
+.endif
+
.include "../../mk/compiler.mk"
.if !empty(CC_VERSION:Mgcc*)
COPTS?= -O2
diff --git a/www/mozilla/distinfo b/www/mozilla/distinfo
index 9157ce83be2..b304bacd0d7 100644
--- a/www/mozilla/distinfo
+++ b/www/mozilla/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.67 2004/10/04 11:52:09 grant Exp $
+$NetBSD: distinfo,v 1.68 2004/10/25 13:02:15 sekiya Exp $
SHA1 (mozilla-source-1.7.3.tar.bz2) = ca588b12d944d478ebe193a76d4b487f8db1e38c
Size (mozilla-source-1.7.3.tar.bz2) = 29716200 bytes
@@ -27,7 +27,7 @@ SHA1 (patch-bo) = 7d6e0353666810992ab0b09d804f9f48ef90b984
SHA1 (patch-bq) = 2a08f3eb1b6a8ea00e712d08b4bcafad3b766a81
SHA1 (patch-br) = 52d5b595f1e25ac5d6664864ab0cbe5e14012168
SHA1 (patch-bs) = fb9f8f13ce481c04a0f7ecfd0ad4d8016cddc2e4
-SHA1 (patch-bt) = 02c84d908156e42b2d60f0c680eab1a89eb5b330
+SHA1 (patch-bt) = 70746626648624b38cc6e8795eb9c061be992342
SHA1 (patch-bu) = db33b8651e3cb1fbf9a18dbe78e1e8288cfda0ee
SHA1 (patch-bv) = 4f23dfd885131ea866f31370f1421e7c19706860
SHA1 (patch-bw) = fc3a518d3762be6e85104a6dc7fffd5ae1a463c8
diff --git a/www/mozilla/patches/patch-bt b/www/mozilla/patches/patch-bt
index 6f53d8e4508..9fd6ef4980d 100644
--- a/www/mozilla/patches/patch-bt
+++ b/www/mozilla/patches/patch-bt
@@ -1,4 +1,4 @@
-$NetBSD: patch-bt,v 1.2 2004/06/21 14:14:01 taya Exp $
+$NetBSD: patch-bt,v 1.3 2004/10/25 13:02:15 sekiya 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 <stdarg.h>
-+#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__)) || \