summaryrefslogtreecommitdiff
path: root/www/firefox3
diff options
context:
space:
mode:
authorhasso <hasso>2009-04-07 08:01:01 +0000
committerhasso <hasso>2009-04-07 08:01:01 +0000
commit97ce718e1d4ebb1afa09e265db371a4b0cd8e625 (patch)
tree90ce6ff3345505c65950bbad577bc19e59abf91c /www/firefox3
parentbbccfc1990a1e259859826d82301543288ab2b26 (diff)
downloadpkgsrc-97ce718e1d4ebb1afa09e265db371a4b0cd8e625.tar.gz
Make Mozilla products build on DragonFly master.
Diffstat (limited to 'www/firefox3')
-rw-r--r--www/firefox3/distinfo4
-rw-r--r--www/firefox3/patches/patch-br30
2 files changed, 27 insertions, 7 deletions
diff --git a/www/firefox3/distinfo b/www/firefox3/distinfo
index 1b1e098872c..f0c32a3e4da 100644
--- a/www/firefox3/distinfo
+++ b/www/firefox3/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.18 2009/03/28 16:51:45 tnn Exp $
+$NetBSD: distinfo,v 1.19 2009/04/07 08:01:01 hasso Exp $
SHA1 (firefox-3.0.8-source.tar.bz2) = 93f82c64ae9c805964fb6459223a1061e2d328fd
RMD160 (firefox-3.0.8-source.tar.bz2) = 2b56dbb881e169ad0a3acad30b8aa0677c03a5e5
@@ -15,7 +15,7 @@ SHA1 (patch-bb) = c7286542a9fe97ac9819a00c345272efb7e90e9c
SHA1 (patch-bm) = a0a69ca516e8a569d5e61293d5610b236192bf85
SHA1 (patch-bo) = 6e06648e1ea9320349f3b2a524055b513ca74358
SHA1 (patch-bq) = 2b29436d138fea4e1941d537be1a636969db9a77
-SHA1 (patch-br) = 943b38fef5e7070de7af8a055f05e576039ad8bb
+SHA1 (patch-br) = 66940666497e82bfb39dcc9381ecd85942ab222c
SHA1 (patch-bs) = 79cb84a5ed67780e124e7c595ee4ae6ffc7617a6
SHA1 (patch-bu) = 0714f658001c363f4abbfb248ac77c4862e3ccf9
SHA1 (patch-bv) = ef06a6a774c9d4da7b3fbf6f4e274ab042926e49
diff --git a/www/firefox3/patches/patch-br b/www/firefox3/patches/patch-br
index 6557e0c480e..d243b5f5a55 100644
--- a/www/firefox3/patches/patch-br
+++ b/www/firefox3/patches/patch-br
@@ -1,9 +1,29 @@
-$NetBSD: patch-br,v 1.1.1.1 2008/06/28 10:01:07 tnn Exp $
+$NetBSD: patch-br,v 1.2 2009/04/07 08:01:01 hasso Exp $
-diff -ruN ../Orig/mozilla/nsprpub/pr/src/misc/prnetdb.c ./nsprpub/pr/src/misc/prnetdb.c
---- ../Orig/mozilla/nsprpub/pr/src/misc/prnetdb.c 2005-08-19 02:24:38.000000000 +0900
-+++ ./nsprpub/pr/src/misc/prnetdb.c 2005-12-04 19:18:10.000000000 +0900
-@@ -2110,7 +2110,17 @@
+--- nsprpub/pr/src/misc/prnetdb.c.orig 2008-05-02 11:18:14 +0300
++++ nsprpub/pr/src/misc/prnetdb.c 2009-04-04 19:53:32 +0300
+@@ -114,6 +114,11 @@ PRLock *_pr_dnsLock = NULL;
+ #define _PR_HAVE_5_ARG_GETPROTO_R
+ #endif
+
++#if __DragonFly_version >= 200202
++#define _PR_HAVE_GETPROTO_R
++#define _PR_HAVE_5_ARG_GETPROTO_R
++#endif
++
+ /* BeOS has glibc but not the glibc-style getprotobyxxx_r functions. */
+ #if (defined(__GLIBC__) && __GLIBC__ >= 2 && !defined(XP_BEOS))
+ #define _PR_HAVE_GETPROTO_R
+@@ -331,7 +336,7 @@ _pr_QueryNetIfs(void)
+ }
+
+ #elif (defined(DARWIN) && defined(HAVE_GETIFADDRS)) || defined(FREEBSD) \
+- || defined(NETBSD) || defined(OPENBSD)
++ || defined(NETBSD) || defined(OPENBSD) || defined(DRAGONFLY)
+
+ /*
+ * Use the BSD getifaddrs function.
+@@ -2023,7 +2028,17 @@ PR_IMPLEMENT(PRAddrInfo *) PR_GetAddrInf
*/
hints.ai_socktype = SOCK_STREAM;