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.
This commit is contained in:
parent
5af9de7658
commit
18eafc8084
3 changed files with 30 additions and 1 deletions
|
@ -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
|
||||
|
|
12
www/mozilla/patches/patch-ad
Normal file
12
www/mozilla/patches/patch-ad
Normal file
|
@ -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"
|
15
www/mozilla/patches/patch-ae
Normal file
15
www/mozilla/patches/patch-ae
Normal file
|
@ -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)
|
Loading…
Reference in a new issue