diff options
author | soren <soren@pkgsrc.org> | 2000-06-13 23:18:53 +0000 |
---|---|---|
committer | soren <soren@pkgsrc.org> | 2000-06-13 23:18:53 +0000 |
commit | 5867fa4efaf59440d82e2f91f128222a66543474 (patch) | |
tree | bbbe2f59e4f302bd8578792e58f698424657d527 /www/mozilla | |
parent | 3c518155880eae5d2041d308cbd9f854efd1c5aa (diff) | |
download | pkgsrc-5867fa4efaf59440d82e2f91f128222a66543474.tar.gz |
Add Taya-san's patches.
Diffstat (limited to 'www/mozilla')
-rw-r--r-- | www/mozilla/patches/patch-aa | 8 | ||||
-rw-r--r-- | www/mozilla/patches/patch-ab | 15 | ||||
-rw-r--r-- | www/mozilla/patches/patch-ac | 42 | ||||
-rw-r--r-- | www/mozilla/patches/patch-ad | 101 | ||||
-rw-r--r-- | www/mozilla/patches/patch-ae | 32 | ||||
-rw-r--r-- | www/mozilla/patches/patch-af | 27 | ||||
-rw-r--r-- | www/mozilla/patches/patch-ag | 18 | ||||
-rw-r--r-- | www/mozilla/patches/patch-ah | 20 | ||||
-rw-r--r-- | www/mozilla/patches/patch-ai | 22 | ||||
-rw-r--r-- | www/mozilla/patches/patch-aj | 18 | ||||
-rw-r--r-- | www/mozilla/patches/patch-ak | 28 | ||||
-rw-r--r-- | www/mozilla/patches/patch-al | 27 | ||||
-rw-r--r-- | www/mozilla/patches/patch-am | 12 |
13 files changed, 370 insertions, 0 deletions
diff --git a/www/mozilla/patches/patch-aa b/www/mozilla/patches/patch-aa new file mode 100644 index 00000000000..d679adcbef7 --- /dev/null +++ b/www/mozilla/patches/patch-aa @@ -0,0 +1,8 @@ +diff -ru ../mozilla-current.orig/mozilla/build/unix/nspr_my_config.mk.in ./build/unix/nspr_my_config.mk.in +--- ../mozilla-current.orig/mozilla/build/unix/nspr_my_config.mk.in Tue Jun 15 08:36:02 1999 ++++ ./build/unix/nspr_my_config.mk.in Sun Jun 4 14:06:22 2000 +@@ -5,3 +5,4 @@ + NS_USE_NATIVE=@MOZ_NSPRENV_NS_USE_NATIVE@ + MOZILLA_CLIENT=@MOZ_NSPRENV_MOZILLA_CLIENT@ + CLASSIC_NSPR=@MOZ_NSPRENV_CLASSIC_NSPR@ ++OBJECT_FMT=@OBJECT_FMT@ diff --git a/www/mozilla/patches/patch-ab b/www/mozilla/patches/patch-ab new file mode 100644 index 00000000000..20c8fe59599 --- /dev/null +++ b/www/mozilla/patches/patch-ab @@ -0,0 +1,15 @@ +diff -ru ../mozilla-current.orig/mozilla/config/autoconf.mk.in ./config/autoconf.mk.in +--- ../mozilla-current.orig/mozilla/config/autoconf.mk.in Sat Jun 3 11:49:44 2000 ++++ ./config/autoconf.mk.in Sun Jun 4 14:06:22 2000 +@@ -234,6 +234,11 @@ + MKSHLIB_UNFORCE_ALL = @MKSHLIB_UNFORCE_ALL@ + DSO_LDOPTS = @DSO_LDOPTS@ + DLL_SUFFIX = @DLL_SUFFIX@ ++SHLIB_MAJOR = @SHLIB_MAJOR@ ++SHLIB_MINOR = @SHLIB_MINOR@ ++OBJECT_FMT = @OBJECT_FMT@ ++SHLIB_LDSTARTFILE = @SHLIB_LDSTARTFILE@ ++SHLIB_LDENDFILE = @SHLIB_LDENDFILE@ + endif + + NO_LD_ARCHIVE_FLAGS = @NO_LD_ARCHIVE_FLAGS@ diff --git a/www/mozilla/patches/patch-ac b/www/mozilla/patches/patch-ac new file mode 100644 index 00000000000..f7c730a6276 --- /dev/null +++ b/www/mozilla/patches/patch-ac @@ -0,0 +1,42 @@ +diff -ru ../mozilla-current.orig/mozilla/config/rules.mk ./config/rules.mk +--- ../mozilla-current.orig/mozilla/config/rules.mk Sat Jun 3 11:49:45 2000 ++++ ./config/rules.mk Sun Jun 4 14:06:22 2000 +@@ -148,6 +148,11 @@ + endif + + SHARED_LIBRARY := $(LIBRARY:.$(LIB_SUFFIX)=$(DLL_SUFFIX)) ++ifeq ($(OS_ARCH),NetBSD) ++ifeq ($(OBJECT_FMT),ELF) ++SHARED_LIBRARY := $(LIBRARY:.$(LIB_SUFFIX)=$(DLL_SUFFIX)).$(SHLIB_MAJOR).$(SHLIB_MINOR) ++endif ++endif + + endif # OS2 + endif # MKSHLIB +@@ -507,6 +512,14 @@ + else + $(INSTALL) -m 555 $(SHARED_LIBRARY) $(DIST)/lib + $(INSTALL) -m 555 $(SHARED_LIBRARY) $(DIST)/bin ++ifeq ($(OS_ARCH),NetBSD) ++ifeq ($(OBJECT_FMT),ELF) ++ (cd $(DIST)/lib; ln -f -s $(SHARED_LIBRARY) lib$(LIBRARY_NAME)$(DLL_SUFFIX)) ++ (cd $(DIST)/lib; ln -f -s $(SHARED_LIBRARY) lib$(LIBRARY_NAME)$(DLL_SUFFIX).$(SHLIB_MAJOR)) ++ (cd $(DIST)/bin; ln -f -s $(SHARED_LIBRARY) lib$(LIBRARY_NAME)$(DLL_SUFFIX)) ++ (cd $(DIST)/bin; ln -f -s $(SHARED_LIBRARY) lib$(LIBRARY_NAME)$(DLL_SUFFIX).$(SHLIB_MAJOR)) ++endif # ELF ++endif # NetBSD + endif # OS2 + ifeq ($(OS_ARCH),OpenVMS) + $(INSTALL) -m 555 $(SHARED_LIBRARY:$(DLL_SUFFIX)=.vms) $(DIST)/bin +@@ -719,7 +732,11 @@ + @for lib in $(SHARED_LIBRARY_LIBS); do $(AR_EXTRACT) $${lib}; $(CLEANUP2); done + endif # SHARED_LIBRARY_LIBS + endif # NO_LD_ARCHIVE_FLAGS ++ifeq ($(OS_ARCH),NetBSD) ++ $(MKSHLIB) $(SHLIB_LDSTARTFILE) $(OBJS) $(LOBJS) $(SUB_SHLOBJS) $(LDFLAGS) $(EXTRA_DSO_LDOPTS) $(OS_LIBS) $(EXTRA_LIBS) $(DEF_FILE) $(SHLIB_LDENDFILE) ++else + $(MKSHLIB) $(OBJS) $(LOBJS) $(SUB_SHLOBJS) $(LDFLAGS) $(EXTRA_DSO_LDOPTS) $(OS_LIBS) $(EXTRA_LIBS) $(DEF_FILE) ++endif + @rm -f foodummyfilefoo $(SUB_SHLOBJS) + else + @touch no-such-file.vms; rm -f no-such-file.vms $(SUB_LOBJS) diff --git a/www/mozilla/patches/patch-ad b/www/mozilla/patches/patch-ad new file mode 100644 index 00000000000..655ce68fca9 --- /dev/null +++ b/www/mozilla/patches/patch-ad @@ -0,0 +1,101 @@ +diff -ru ../mozilla-current.orig/mozilla/configure.in ./configure.in +--- ../mozilla-current.orig/mozilla/configure.in Sun Jun 4 13:01:34 2000 ++++ ./configure.in Mon Jun 5 00:49:07 2000 +@@ -344,6 +344,11 @@ + TARGET_MD_ARCH=unix + DIRENT_INO=d_ino + NEED_BASE_DLL_NAME_ALSO= ++SHLIB_MAJOR= ++SHLIB_MINOR= ++OBJECT_FMT= ++SHLIB_LDSTARTFILE= ++SHLIB_LDENDFILE= + + MOZ_JPEG_CFLAGS= + MOZ_JPEG_LIBS='-L$(DIST)/lib -ljpeg' +@@ -682,11 +687,25 @@ + ;; + + *-netbsd*) +- DLL_SUFFIX=".so.1.0" ++ SHLIB_MAJOR=1 ++ SHLIB_MINOR=0 + DSO_CFLAGS='' +- DSO_PIC_CFLAGS='-fPIC' + CFLAGS="$CFLAGS -Dunix" + CXXFLAGS="$CXXFLAGS -Dunix" ++ if $CC -E - -dM </dev/null | grep __ELF__ >/dev/null; then ++ DLL_SUFFIX=".so" ++ LIBRUNPATH='`(cd $(DIST)/bin; /bin/pwd)`' ++ DSO_PIC_CFLAGS='-fpic -DPIC' ++ DSO_LDOPTS='-x -shared -soname lib$(LIBRARY_NAME).so.$(SHLIB_MAJOR)' ++ OBJECT_FMT=ELF ++ SHLIB_LDSTARTFILE=/usr/lib/crtbeginS.o ++ SHLIB_LDENDFILE=/usr/lib/crtendS.o ++ else ++ DSO_PIC_CFLAGS='-fpic -DPIC' ++ DLL_SUFFIX=".so.${SHLIB_MAJOR}.${SHLIB_MINOR}" ++ DSO_LDOPTS='-x -shared' ++ SHLIB_LDSTARTFILE=/usr/lib/c++rt0.o ++ fi + # At least for 1.3 and up, ld supports this, despite the test failing above. + MKSHLIB_FORCE_ALL='--whole-archive' + MKSHLIB_UNFORCE_ALL='--no-whole-archive' +@@ -701,10 +720,6 @@ + MKCSHLIB='$(LD) $(DSO_LDOPTS) -o $@' + ;; + esac +- dnl Test for a.out platform and handle C++ libraries correctly +- if $CC -E - -dM </dev/null | grep -v __ELF__ >/dev/null; then +- DSO_LDOPTS="-shared" +- fi + if test "$LIBRUNPATH"; then + DSO_LDOPTS="-R$LIBRUNPATH $DSO_LDOPTS" + fi +@@ -947,6 +962,11 @@ + + dnl See above (netbsd) + AC_SUBST(NEED_BASE_DLL_NAME_ALSO) ++AC_SUBST(SHLIB_MAJOR) ++AC_SUBST(SHLIB_MINOR) ++AC_SUBST(OBJECT_FMT) ++AC_SUBST(SHLIB_LDSTARTFILE) ++AC_SUBST(SHLIB_LDENDFILE) + + dnl Only one oddball right now (QNX), but this gives us flexibility + dnl if any other platforms need to override this in the future. +@@ -1150,6 +1170,12 @@ + AM_PATH_GTK($GTK_VERSION,, + AC_MSG_ERROR(Test for GTK failed.)) + ++case "$target" in ++i386-*-netbsd*) ++ GTK_LIBS=`echo $GTK_LIBS | sed -e 's/-Wl,//g'` ++ ;; ++esac ++ + dnl ======================================================== + dnl = = + dnl = --with-java-supplement = +@@ -1621,6 +1647,13 @@ + HOST_LIBIDL_LIBS=`${HOST_LIBIDL_CONFIG} --libs` + fi + ++case "$target" in ++i386-*-netbsd*) ++ GLIB_LIBS=`echo $GLIB_LIBS | sed -e 's/-Wl,//g'` ++ LIBIDL_LIBS=`echo $LIBIDL_LIBS | sed -e 's/-Wl,//g'` ++ ;; ++esac ++ + dnl Checks for typedefs, structures, and compiler characteristics. + dnl ======================================================== + AC_C_CONST +@@ -2760,6 +2793,7 @@ + *-*-solaris*) MOZ_MONOLITHIC_TOOLKIT= ;; + *-openvms*) MOZ_MONOLITHIC_TOOLKIT= ;; + *-freebsd*) MOZ_MONOLITHIC_TOOLKIT= ;; ++ *-netbsd*) MOZ_MONOLITHIC_TOOLKIT= ;; + *-*-aix*) MOZ_MONOLITHIC_TOOLKIT= ;; + *-*-osf*) MOZ_MONOLITHIC_TOOLKIT= ;; + *-hpux11.*) MOZ_MONOLITHIC_TOOLKIT= ;; diff --git a/www/mozilla/patches/patch-ae b/www/mozilla/patches/patch-ae new file mode 100644 index 00000000000..bc72498a9a3 --- /dev/null +++ b/www/mozilla/patches/patch-ae @@ -0,0 +1,32 @@ +diff -ru ../mozilla-current.orig/mozilla/nsprpub/config/NetBSD.mk ./nsprpub/config/NetBSD.mk +--- ../mozilla-current.orig/mozilla/nsprpub/config/NetBSD.mk Thu Apr 22 06:37:38 1999 ++++ ./nsprpub/config/NetBSD.mk Sun Jun 4 14:06:23 2000 +@@ -44,11 +44,25 @@ + + ARCH = netbsd + +-DLL_SUFFIX = so.1.0 ++SHLIB_MAJOR = 1 ++SHLIB_MINOR = 0 + +-DSO_CFLAGS = -fPIC ++ifeq ($(OBJECT_FMT),ELF) ++DLL_SUFFIX = so ++DSO_CFLAGS = -fpic -DPIC ++DSO_LDOPTS = -x -shared -soname lib$(LIBRARY_NAME)$(MOD_VERSION).so.$(SHLIB_MAJOR) ++LIBRUNPATH = `(cd $(DIST)/bin; pwd)` ++SHLIB_LDSTARTFILE= /usr/lib/crtbeginS.o ++SHLIB_LDENDFILE= /usr/lib/crtendS.o ++else ++DLL_SUFFIX = so.$(SHLIB_MAJOR).$(SHLIB_MINOR) ++DSO_CFLAGS = -fpic -DPIC + DSO_LDFLAGS = +-DSO_LDOPTS = -Bshareable ++DSO_LDOPTS = -x -shared ++SHLIB_LDSTARTFILE= /usr/lib/c++rt0.o ++SHLIB_LDENDFILE= ++endif ++# + ifeq ($(OS_TEST),alpha) + DSO_LDOPTS = -shared + endif diff --git a/www/mozilla/patches/patch-af b/www/mozilla/patches/patch-af new file mode 100644 index 00000000000..3312b581f4f --- /dev/null +++ b/www/mozilla/patches/patch-af @@ -0,0 +1,27 @@ +diff -ru ../mozilla-current.orig/mozilla/nsprpub/config/rules.mk ./nsprpub/config/rules.mk +--- ../mozilla-current.orig/mozilla/nsprpub/config/rules.mk Sat May 13 05:32:17 2000 ++++ ./nsprpub/config/rules.mk Sun Jun 4 14:06:24 2000 +@@ -105,6 +105,11 @@ + else + ifdef MKSHLIB + SHARED_LIBRARY = $(OBJDIR)/lib$(LIBRARY_NAME)$(LIBRARY_VERSION).$(DLL_SUFFIX) ++ifeq ($(OS_ARCH), NetBSD) ++ifeq ($(OBJECT_FMT),ELF) ++SHARED_LIBRARY = $(OBJDIR)/lib$(LIBRARY_NAME)$(LIBRARY_VERSION).$(DLL_SUFFIX).$(SHLIB_MAJOR).$(SHLIB_MINOR) ++endif # ELF ++endif # NetBSD + endif + endif + +@@ -347,7 +352,11 @@ + $(MKSHLIB) -o $@ $(OBJS) $(EXTRA_LIBS) $(OS_LIBS) $(OBJDIR)/VMSuni.opt + @echo "`translate $@`" > $(@:.$(DLL_SUFFIX)=.vms) + else # OpenVMS ++ifeq ($(OS_ARCH), NetBSD) ++ $(MKSHLIB) -o $@ $(SHLIB_LDSTARTFILE) $(OBJS) $(EXTRA_LIBS) $(OS_LIBS) $(SHLIB_LDENDFILE) ++else # NetBSD + $(MKSHLIB) -o $@ $(OBJS) $(EXTRA_LIBS) $(OS_LIBS) ++endif # NetBSD + endif # OpenVMS + endif # OS2 + endif # WINNT diff --git a/www/mozilla/patches/patch-ag b/www/mozilla/patches/patch-ag new file mode 100644 index 00000000000..013d67e2e6a --- /dev/null +++ b/www/mozilla/patches/patch-ag @@ -0,0 +1,18 @@ +diff -ru ../mozilla-current.orig/mozilla/nsprpub/lib/ds/Makefile ./nsprpub/lib/ds/Makefile +--- ../mozilla-current.orig/mozilla/nsprpub/lib/ds/Makefile Fri Jan 28 09:27:08 2000 ++++ ./nsprpub/lib/ds/Makefile Sun Jun 4 14:06:24 2000 +@@ -160,6 +160,14 @@ + else + $(INSTALL) -m 444 $(SHARED_LIBRARY) $(DIST)/bin + endif ++ifeq ($(OS_ARCH),NetBSD) ++ifeq ($(OBJECT_FMT),ELF) ++ ( cd $(DIST)/bin; \ ++ ln -s -f lib$(LIBRARY_NAME)$(MOD_VERSION).$(DLL_SUFFIX).$(SHLIB_MAJOR).$(SHLIB_MINOR) lib$(LIBRARY_NAME)$(MOD_VERSION).$(DLL_SUFFIX).$(SHLIB_MAJOR); \ ++ ln -s -f lib$(LIBRARY_NAME)$(MOD_VERSION).$(DLL_SUFFIX).$(SHLIB_MAJOR).$(SHLIB_MINOR) lib$(LIBRARY_NAME)$(MOD_VERSION).$(DLL_SUFFIX); \ ++ ) ++endif # ELF ++endif # NetBSD + ifeq ($(OS_ARCH), OpenVMS) + $(INSTALL) -m 444 $(SHARED_LIBRARY:.$(DLL_SUFFIX)=.vms) $(DIST)/lib + endif diff --git a/www/mozilla/patches/patch-ah b/www/mozilla/patches/patch-ah new file mode 100644 index 00000000000..7c106dbc1b1 --- /dev/null +++ b/www/mozilla/patches/patch-ah @@ -0,0 +1,20 @@ +diff -ru ../mozilla-current.orig/mozilla/nsprpub/lib/libc/src/Makefile ./nsprpub/lib/libc/src/Makefile +--- ../mozilla-current.orig/mozilla/nsprpub/lib/libc/src/Makefile Tue Jan 11 06:08:12 2000 ++++ ./nsprpub/lib/libc/src/Makefile Sun Jun 4 14:06:24 2000 +@@ -162,8 +162,16 @@ + else + $(INSTALL) -m 444 $(SHARED_LIBRARY) $(DIST)/bin + endif ++ifeq ($(OS_ARCH), NetBSD) ++ifeq ($(OBJECT_FMT),ELF) ++ (cd $(DIST)/bin; \ ++ ln -f -s lib$(LIBRARY_NAME)$(MOD_VERSION).$(DLL_SUFFIX).$(SHLIB_MAJOR).$(SHLIB_MINOR) lib$(LIBRARY_NAME)$(MOD_VERSION).$(DLL_SUFFIX).$(SHLIB_MAJOR); \ ++ ln -f -s lib$(LIBRARY_NAME)$(MOD_VERSION).$(DLL_SUFFIX).$(SHLIB_MAJOR).$(SHLIB_MINOR) lib$(LIBRARY_NAME)$(MOD_VERSION).$(DLL_SUFFIX) \ ++ ) + ifeq ($(OS_ARCH), OpenVMS) + $(INSTALL) -m 444 $(SHARED_LIBRARY:.$(DLL_SUFFIX)=.vms) $(DIST)/lib ++endif # ELF ++endif # NetBSD + endif + endif + ifeq ($(MOZ_BITS),16) diff --git a/www/mozilla/patches/patch-ai b/www/mozilla/patches/patch-ai new file mode 100644 index 00000000000..8a35f076e1d --- /dev/null +++ b/www/mozilla/patches/patch-ai @@ -0,0 +1,22 @@ +diff -ru ../mozilla-current.orig/mozilla/nsprpub/pr/include/md/_netbsd.h ./nsprpub/pr/include/md/_netbsd.h +--- ../mozilla-current.orig/mozilla/nsprpub/pr/include/md/_netbsd.h Thu Dec 23 08:58:07 1999 ++++ ./nsprpub/pr/include/md/_netbsd.h Sun Jun 4 14:06:24 2000 +@@ -54,6 +54,8 @@ + #define _PR_STAT_HAS_ST_ATIMESPEC + #define _PR_HAVE_SYSV_SEMAPHORES + #define PR_HAVE_SYSV_NAMED_SHARED_MEMORY ++#define _PR_POLL_AVAILABLE ++#define _PR_USE_POLL + + #define USE_SETJMP + +@@ -210,6 +212,9 @@ + * unwrapped version. + */ + #define _MD_SELECT(nfds,r,w,e,tv) syscall(SYS_select,nfds,r,w,e,tv) ++#if defined(_PR_POLL_AVAILABLE) ++#include <poll.h> ++#endif + #define _MD_POLL(fds,nfds,timeout) syscall(SYS_poll,fds,nfds,timeout) + + #if NetBSD1_3 == 1L diff --git a/www/mozilla/patches/patch-aj b/www/mozilla/patches/patch-aj new file mode 100644 index 00000000000..7c944447673 --- /dev/null +++ b/www/mozilla/patches/patch-aj @@ -0,0 +1,18 @@ +diff -ru ../mozilla-current.orig/mozilla/nsprpub/pr/src/Makefile ./nsprpub/pr/src/Makefile +--- ../mozilla-current.orig/mozilla/nsprpub/pr/src/Makefile Thu Feb 24 08:38:02 2000 ++++ ./nsprpub/pr/src/Makefile Sun Jun 4 14:06:25 2000 +@@ -414,6 +414,14 @@ + else + $(INSTALL) -m 444 $(SHARED_LIBRARY) $(DIST)/bin + endif ++ifeq ($(OS_ARCH),NetBSD) ++ifeq ($(OBJECT_FMT),ELF) ++ (cd $(DIST)/bin; \ ++ ln -f -s lib$(LIBRARY_NAME)$(MOD_VERSION).$(DLL_SUFFIX).$(SHLIB_MAJOR).$(SHLIB_MINOR) lib$(LIBRARY_NAME)$(MOD_VERSION).$(DLL_SUFFIX).$(SHLIB_MAJOR); \ ++ ln -f -s lib$(LIBRARY_NAME)$(MOD_VERSION).$(DLL_SUFFIX).$(SHLIB_MAJOR).$(SHLIB_MINOR) lib$(LIBRARY_NAME)$(MOD_VERSION).$(DLL_SUFFIX); \ ++ ) ++endif # ELF ++endif # NetBSD + ifeq ($(OS_ARCH), OpenVMS) + $(INSTALL) -m 444 $(SHARED_LIBRARY:.$(DLL_SUFFIX)=.vms) $(DIST)/lib + endif diff --git a/www/mozilla/patches/patch-ak b/www/mozilla/patches/patch-ak new file mode 100644 index 00000000000..44ba1055620 --- /dev/null +++ b/www/mozilla/patches/patch-ak @@ -0,0 +1,28 @@ +diff -ru ../mozilla-current.orig/mozilla/nsprpub/pr/src/linking/prlink.c ./nsprpub/pr/src/linking/prlink.c +--- ../mozilla-current.orig/mozilla/nsprpub/pr/src/linking/prlink.c Sat Apr 22 06:39:27 2000 ++++ ./nsprpub/pr/src/linking/prlink.c Sun Jun 4 14:06:25 2000 +@@ -64,7 +64,7 @@ + * On these platforms, symbols have a leading '_'. + */ + #if defined(SUNOS4) || defined(RHAPSODY) || defined(NEXTSTEP) \ +- || defined(OPENBSD) || defined(WIN16) || defined(NETBSD) ++ || defined(OPENBSD) || defined(WIN16) || (defined(NETBSD) && !defined(__ELF__)) + #define NEED_LEADING_UNDERSCORE + #endif + +@@ -191,6 +191,7 @@ + #elif defined(XP_UNIX) + #ifdef HAVE_DLL + #ifdef USE_DLFCN ++#ifndef NETBSD + h = dlopen(0, RTLD_LAZY); + if (!h) { + char *error; +@@ -203,6 +204,7 @@ + PR_DELETE(error); + abort();/* XXX */ + } ++#endif + #elif defined(USE_HPSHL) + h = NULL; + /* don't abort with this NULL */ diff --git a/www/mozilla/patches/patch-al b/www/mozilla/patches/patch-al new file mode 100644 index 00000000000..47282272838 --- /dev/null +++ b/www/mozilla/patches/patch-al @@ -0,0 +1,27 @@ +diff -ru ../mozilla-current.orig/mozilla/nsprpub/pr/src/md/unix/unix.c ./nsprpub/pr/src/md/unix/unix.c +--- ../mozilla-current.orig/mozilla/nsprpub/pr/src/md/unix/unix.c Tue Nov 2 07:59:01 1999 ++++ ./nsprpub/pr/src/md/unix/unix.c Sun Jun 4 14:06:25 2000 +@@ -100,7 +100,11 @@ + /* + * _nspr_noclock - if set clock interrupts are disabled + */ ++#ifdef NETBSD ++int _nspr_noclock = 0; ++#else + int _nspr_noclock = 1; ++#endif + + #ifdef IRIX + extern PRInt32 _nspr_terminate_on_error; +@@ -2059,7 +2063,11 @@ + #endif /* HPUX9 */ + + /* # of milliseconds per clock tick that we will use */ ++#ifdef NETBSD ++#define MSEC_PER_TICK 100 ++#else + #define MSEC_PER_TICK 50 ++#endif + + + void _MD_StartInterrupts() diff --git a/www/mozilla/patches/patch-am b/www/mozilla/patches/patch-am new file mode 100644 index 00000000000..f55ced21fdc --- /dev/null +++ b/www/mozilla/patches/patch-am @@ -0,0 +1,12 @@ +diff -ru ../mozilla-current.orig/mozilla/nsprpub/pr/src/pthreads/ptio.c ./nsprpub/pr/src/pthreads/ptio.c +--- ../mozilla-current.orig/mozilla/nsprpub/pr/src/pthreads/ptio.c Tue Apr 4 09:27:10 2000 ++++ ./nsprpub/pr/src/pthreads/ptio.c Sun Jun 4 14:06:26 2000 +@@ -123,7 +123,7 @@ + #define _PRSockOptVal_t char * + #elif defined(IRIX) || defined(OSF1) || defined(AIX) || defined(HPUX) \ + || defined(LINUX) || defined(FREEBSD) || defined(BSDI) || defined(VMS) \ +- || defined(NTO) || defined(OPENBSD) || defined(RHAPSODY) ++ || defined(NTO) || defined(OPENBSD) || defined(RHAPSODY) || defined(NETBSD) + #define _PRSockOptVal_t void * + #else + #error "Cannot determine architecture" |