diff options
Diffstat (limited to 'www/mozilla-devel/files')
-rw-r--r-- | www/mozilla-devel/files/patch-an | 11 | ||||
-rw-r--r-- | www/mozilla-devel/files/patch-ao | 10 | ||||
-rw-r--r-- | www/mozilla-devel/files/patch-ap | 58 | ||||
-rw-r--r-- | www/mozilla-devel/files/patch-aq | 20 | ||||
-rw-r--r-- | www/mozilla-devel/files/patch-mi | 2 | ||||
-rw-r--r-- | www/mozilla-devel/files/patch-qt | 2 |
6 files changed, 90 insertions, 13 deletions
diff --git a/www/mozilla-devel/files/patch-an b/www/mozilla-devel/files/patch-an deleted file mode 100644 index 2904080e1e35..000000000000 --- a/www/mozilla-devel/files/patch-an +++ /dev/null @@ -1,11 +0,0 @@ ---- js/src/Makefile.in.orig Thu Dec 21 01:23:12 2000 -+++ js/src/Makefile.in Thu Dec 21 01:23:22 2000 -@@ -218,7 +218,7 @@ - endif - - ifeq ($(OS_ARCH),FreeBSD) --LDFLAGS += -pthread -+LDFLAGS += -pthread -lgcc_r - endif - ifeq ($(OS_ARCH),IRIX) - ifdef USE_N32 diff --git a/www/mozilla-devel/files/patch-ao b/www/mozilla-devel/files/patch-ao new file mode 100644 index 000000000000..29a1b3ecbad7 --- /dev/null +++ b/www/mozilla-devel/files/patch-ao @@ -0,0 +1,10 @@ +--- nsprpub/pr/src/misc/prnetdb.c.orig Wed Mar 8 08:27:18 2000 ++++ nsprpub/pr/src/misc/prnetdb.c Thu Jan 18 17:52:51 2001 +@@ -924,6 +924,7 @@ + PRStatus rv = PR_SUCCESS; + if (!_pr_initialized) _PR_ImplicitInitialization(); + ++ bzero(&(addr->inet),sizeof(addr->inet)); + addr->inet.family = AF_INET; + addr->inet.port = htons(port); + switch (val) diff --git a/www/mozilla-devel/files/patch-ap b/www/mozilla-devel/files/patch-ap new file mode 100644 index 000000000000..beef296a4102 --- /dev/null +++ b/www/mozilla-devel/files/patch-ap @@ -0,0 +1,58 @@ +--- security/coreconf/config.mk.orig Thu Jan 18 21:58:30 2001 ++++ security/coreconf/config.mk Thu Jan 18 21:58:41 2001 +@@ -56,7 +56,7 @@ + # each OS release. # + ####################################################################### + +-ifeq (,$(filter-out NetBSD,$(OS_TARGET))) ++ifeq (,$(filter-out FreeBSD,$(OS_TARGET))) + include $(CORE_DEPTH)/coreconf/$(OS_TARGET).mk + else + include $(CORE_DEPTH)/coreconf/$(OS_CONFIG).mk +--- security/psm/Makefile.in.orig Thu Jan 18 22:00:05 2001 ++++ security/psm/Makefile.in Thu Jan 18 22:00:19 2001 +@@ -28,7 +28,7 @@ + CORE_DEPTH=$(topsrcdir)/security + + include $(CORE_DEPTH)/coreconf/arch.mk +-ifeq (,$(filter-out NetBSD,$(OS_TARGET))) ++ifeq (,$(filter-out FreeBSD,$(OS_TARGET))) + include $(CORE_DEPTH)/coreconf/$(OS_TARGET).mk + else + include $(CORE_DEPTH)/coreconf/$(OS_CONFIG).mk +--- security/psm/server/Makefile.orig Tue Dec 19 17:24:58 2000 ++++ security/psm/server/Makefile Fri Jan 19 03:49:36 2001 +@@ -37,7 +37,7 @@ + endif + + ifneq ($(OS_ARCH), WINNT) +-ifeq ($(OS_ARCH), Linux) ++ifeq ($(OS_ARCH), FreeBSD) + # On linux, we link with libstdc++ (we're always using egcs on linux, right?) + CPLUSPLUSRUNTIME = -L /usr/lib -lstdc++ -lm + else +@@ -57,11 +57,11 @@ + endif + endif + +-ifeq ($(OS_ARCH), Linux) ++ifeq ($(OS_ARCH), FreeBSD) + ifdef USE_PTHREADS + # Replace OS_LIBS, because the order of libpthread, libdl, and libc are + # very important. Otherwise you get horrible crashes. +-OS_LIBS = -lpthread -ldl -lc ++OS_LIBS = -pthread + endif + endif + +@@ -158,8 +158,8 @@ + XPCOM_LINK_LIBS = -lxpcom + XPCOM_LIBS += $(DIST)/lib/libz.$(DLL_SUFFIX) + else +-NSPR_LINK_LIBS = $(NSPR_LIBS) +-XPCOM_LINK_LIBS = $(XPCOM_LIBS) ++NSPR_LINK_LIBS = -L$(DIST)/lib -lnspr4 -lplc4 -lplds4 ++XPCOM_LINK_LIBS = -lxpcom + endif + + ifndef MOZ_DIST diff --git a/www/mozilla-devel/files/patch-aq b/www/mozilla-devel/files/patch-aq new file mode 100644 index 000000000000..0418737cfcf3 --- /dev/null +++ b/www/mozilla-devel/files/patch-aq @@ -0,0 +1,20 @@ +--- nsprpub/pr/include/md/_pth.h.orig Sat Jan 20 17:28:34 2001 ++++ nsprpub/pr/include/md/_pth.h Sat Jan 20 17:29:04 2001 +@@ -183,7 +183,7 @@ + #define PT_PRIO_MAX sched_get_priority_max(SCHED_OTHER) + #endif /* defined(_PR_DCETHREADS) */ + +-#elif defined(LINUX) ++#elif defined(LINUX) || defined(FREEBSD) + #define PT_PRIO_MIN sched_get_priority_min(SCHED_OTHER) + #define PT_PRIO_MAX sched_get_priority_max(SCHED_OTHER) + #elif defined(NTO) +@@ -203,7 +203,7 @@ + */ + #define PT_PRIO_MIN 1 + #define PT_PRIO_MAX 127 +-#elif defined(FREEBSD) || defined(NETBSD) || defined(OPENBSD) \ ++#elif defined(NETBSD) || defined(OPENBSD) \ + || defined(BSDI) || defined(RHAPSODY) /* XXX */ + #define PT_PRIO_MIN 0 + #define PT_PRIO_MAX 126 diff --git a/www/mozilla-devel/files/patch-mi b/www/mozilla-devel/files/patch-mi index b9b9c146c953..dd87c2a150a5 100644 --- a/www/mozilla-devel/files/patch-mi +++ b/www/mozilla-devel/files/patch-mi @@ -29,7 +29,7 @@ -DEFINES += -D_THREAD_SAFE -THREAD_FLAG += -pthread +DEFINES += -D_THREAD_SAFE -D_REENTRANT -+DSO_LDOPTS += -pthread -lgcc_r ++DSO_LDOPTS += -pthread else IMPL_STRATEGY = _EMU DEFINES += -D_PR_LOCAL_THREADS_ONLY diff --git a/www/mozilla-devel/files/patch-qt b/www/mozilla-devel/files/patch-qt index 361bf6cbdd5d..76dc15b78237 100644 --- a/www/mozilla-devel/files/patch-qt +++ b/www/mozilla-devel/files/patch-qt @@ -33,7 +33,7 @@ if test "$ac_cv_have_dash_pthread" = "yes"; then - _PTHREAD_LDFLAGS="" -+ _PTHREAD_LDFLAGS="-pthread -lgcc_r" ++ _PTHREAD_LDFLAGS="-pthread" else _PTHREAD_LDFLAGS="-lc_r" fi |