pkgsrc/www/mozilla/patches/patch-be
taya 6d1b9ea338 Update mozilla to 0.9.6
From "What's New" section of release notes:

* Mozilla now displays page icons in the url bar (Expect support for
 shortcut icons (aka favicon) in Mozilla 0.9.7). Page icons can be defined
 in the html head section of a document like so:

	<LINK REL="icon" HREF="images/mozilla-16.png" TYPE="image/png">
	<LINK REL="SHORTCUT ICON" HREF="/images/global/branding/dellecomicon.ico">

* Mozilla can now display Windows .BMP and .ICO images on all platforms.
* Print Preview has been implemented.
* Macintosh Page Setup has been implemented (Bug 36796)
* Mail message "labels" support has been implemented. (Bug 81292)
* Mail "prefill mail filter" support has been implemented (Bug 65761)
* The new Search for item on the context menu lets you search for any text
 you highlight on a web page.
* Select some text in browser window.
* Right click in the browser window and a context menu will pop up.
* Choose the Search for item and Mozilla will search for the highlighted text at your default engine.
2001-11-22 16:25:36 +00:00

21 lines
657 B
Text

$NetBSD: patch-be,v 1.2 2001/11/22 16:25:37 taya Exp $
diff -ru ../Orig/mozilla/nsprpub/pr/src/io/prsocket.c ./nsprpub/pr/src/io/prsocket.c
--- ../Orig/mozilla/nsprpub/pr/src/io/prsocket.c Sat Jun 9 04:54:54 2001
+++ ./nsprpub/pr/src/io/prsocket.c Thu Nov 22 12:31:25 2001
@@ -1300,6 +1300,15 @@
if (osfd == -1) {
return 0;
}
+#if defined(__NetBSD__) && defined(_PR_INET6) && defined(IPV6_V6ONLY)
+ if(domain == PR_AF_INET6){
+ int opt = 0;
+ if(setsockopt(osfd, IPPROTO_IPV6, IPV6_V6ONLY, &opt, sizeof(opt))){
+ close(osfd);
+ return -1;
+ }
+ }
+#endif
if (type == SOCK_STREAM)
fd = PR_AllocFileDesc(osfd, PR_GetTCPMethods());
else