summaryrefslogtreecommitdiff
path: root/www/firefox
diff options
context:
space:
mode:
authorhasso <hasso@pkgsrc.org>2009-04-07 08:01:01 +0000
committerhasso <hasso@pkgsrc.org>2009-04-07 08:01:01 +0000
commit2d1ac299a5d725d622317c99c07df1b97f160921 (patch)
tree90ce6ff3345505c65950bbad577bc19e59abf91c /www/firefox
parenta6b5b61e611486fe1fd499324de2ef713263c1a2 (diff)
downloadpkgsrc-2d1ac299a5d725d622317c99c07df1b97f160921.tar.gz
Make Mozilla products build on DragonFly master.
Diffstat (limited to 'www/firefox')
-rw-r--r--www/firefox/distinfo4
-rw-r--r--www/firefox/patches/patch-br30
2 files changed, 27 insertions, 7 deletions
diff --git a/www/firefox/distinfo b/www/firefox/distinfo
index 14df17149b8..cd57169cd6a 100644
--- a/www/firefox/distinfo
+++ b/www/firefox/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.84 2008/12/17 17:05:52 ghen Exp $
+$NetBSD: distinfo,v 1.85 2009/04/07 08:01:01 hasso Exp $
SHA1 (firefox-2.0.0.19-source.tar.bz2) = 8c4f87c50a0ecf78530b6fbfaac3123196a260a9
RMD160 (firefox-2.0.0.19-source.tar.bz2) = e5bba299e7bc012a70956bcb253517b696a519b1
@@ -26,7 +26,7 @@ SHA1 (patch-bb) = 4ade97ffe2c8b16262dfa992e47ad7c9a666d037
SHA1 (patch-bm) = a0a69ca516e8a569d5e61293d5610b236192bf85
SHA1 (patch-bo) = 6e06648e1ea9320349f3b2a524055b513ca74358
SHA1 (patch-bq) = 2b29436d138fea4e1941d537be1a636969db9a77
-SHA1 (patch-br) = 943b38fef5e7070de7af8a055f05e576039ad8bb
+SHA1 (patch-br) = 968645e0934ec5c61f8a08c4d5a6a2c7745f8fe2
SHA1 (patch-bs) = 79cb84a5ed67780e124e7c595ee4ae6ffc7617a6
SHA1 (patch-bu) = 0714f658001c363f4abbfb248ac77c4862e3ccf9
SHA1 (patch-bv) = ef06a6a774c9d4da7b3fbf6f4e274ab042926e49
diff --git a/www/firefox/patches/patch-br b/www/firefox/patches/patch-br
index 87604a29eb2..995c2177b53 100644
--- a/www/firefox/patches/patch-br
+++ b/www/firefox/patches/patch-br
@@ -1,9 +1,29 @@
-$NetBSD: patch-br,v 1.7 2007/05/12 13:53:09 ghen Exp $
+$NetBSD: patch-br,v 1.8 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 2006-11-14 19:41:59 +0200
++++ nsprpub/pr/src/misc/prnetdb.c 2009-04-04 18:10:55 +0300
+@@ -113,6 +113,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
++
+ #if (defined(LINUX) && defined(__GLIBC__) && __GLIBC__ >= 2)
+ #define _PR_HAVE_GETPROTO_R
+ #define _PR_HAVE_5_ARG_GETPROTO_R
+@@ -329,7 +334,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.
+@@ -2115,7 +2120,17 @@ PR_IMPLEMENT(PRAddrInfo *) PR_GetAddrInf
*/
hints.ai_socktype = SOCK_STREAM;