summaryrefslogtreecommitdiff
path: root/www/mozilla
diff options
context:
space:
mode:
authormartin <martin@pkgsrc.org>2000-10-02 10:18:55 +0000
committermartin <martin@pkgsrc.org>2000-10-02 10:18:55 +0000
commit18eafc8084517ff9d3bed0031b1dd39c7dbc4f8c (patch)
tree45a8e43ab2cfebefdc013f5d2d21a5220669ada0 /www/mozilla
parent5af9de7658a54821af4db2487db70383e443b7f0 (diff)
downloadpkgsrc-18eafc8084517ff9d3bed0031b1dd39c7dbc4f8c.tar.gz
Make the pkg compile on NetBSD/macppc.
It doesn't work yet (due to toolchain issues), but that's another story. The patches were created by wtc@netscape.com and are going to be applied to the mozilla mainline.
Diffstat (limited to 'www/mozilla')
-rw-r--r--www/mozilla/files/patch-sum4
-rw-r--r--www/mozilla/patches/patch-ad12
-rw-r--r--www/mozilla/patches/patch-ae15
3 files changed, 30 insertions, 1 deletions
diff --git a/www/mozilla/files/patch-sum b/www/mozilla/files/patch-sum
index 45aa58dcbe7..319480acdcf 100644
--- a/www/mozilla/files/patch-sum
+++ b/www/mozilla/files/patch-sum
@@ -1,5 +1,7 @@
-$NetBSD: patch-sum,v 1.9 2000/08/30 21:59:52 martin Exp $
+$NetBSD: patch-sum,v 1.10 2000/10/02 10:18:55 martin Exp $
MD5 (patch-aa) = d18ca3d83f4e0b5a4fc5a911908e30cd
MD5 (patch-ab) = 1cf19e64ed6859cbe81bef0cd1bcbe4d
MD5 (patch-ac) = 74e4c96c8768d1576d0470677c045169
+MD5 (patch-ad) = bf89869ade3ef8b0bc0a9a20cb455850
+MD5 (patch-ae) = d1e258096b2ede48e3135ac9e93ccb66
diff --git a/www/mozilla/patches/patch-ad b/www/mozilla/patches/patch-ad
new file mode 100644
index 00000000000..86aa3986519
--- /dev/null
+++ b/www/mozilla/patches/patch-ad
@@ -0,0 +1,12 @@
+$NetBSD: patch-ad,v 1.9 2000/10/02 10:18:56 martin Exp $
+
+--- nsprpub/pr/include/md/_netbsd.h.orig Mon Oct 2 11:10:16 2000
++++ nsprpub/pr/include/md/_netbsd.h Mon Oct 2 11:12:48 2000
+@@ -20,6 +20,7 @@
+ #define nspr_netbsd_defs_h___
+
+ #include <sys/syscall.h>
++#include <sys/param.h> /* for __NetBSD_Version__ */
+
+ #define PR_LINKER_ARCH "netbsd"
+ #define _PR_SI_SYSNAME "NetBSD"
diff --git a/www/mozilla/patches/patch-ae b/www/mozilla/patches/patch-ae
new file mode 100644
index 00000000000..1e6a832cb1d
--- /dev/null
+++ b/www/mozilla/patches/patch-ae
@@ -0,0 +1,15 @@
+$NetBSD: patch-ae,v 1.6 2000/10/02 10:18:56 martin Exp $
+
+--- nsprpub/pr/src/io/prprf.c.orig Fri Jul 16 02:30:32 1999
++++ nsprpub/pr/src/io/prprf.c Mon Oct 2 11:14:07 2000
+@@ -36,7 +36,9 @@
+ ** and requires array notation.
+ */
+ #if (defined(LINUX) && defined(__powerpc__)) || defined(WIN16) || \
+- defined(QNX) || (defined(__NetBSD__) && defined(__powerpc__))
++ defined(QNX) || \
++ (defined(__NetBSD__) && defined(__powerpc__) && \
++ __NetBSD_Version__ < 105000000)
+ #define VARARGS_ASSIGN(foo, bar) foo[0] = bar[0]
+ #else
+ #define VARARGS_ASSIGN(foo, bar) (foo) = (bar)