Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Aug 2004 23:35:13 -0500 (CDT)
From:      Sean Farley <sean-freebsd@farley.org>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        gnome@freebsd.org
Subject:   [PATCH] www/mozilla: Work-around for Mozilla bug 242123
Message-ID:  <200408030435.i734ZDTU030009@thor.farley.org>

next in thread | raw e-mail | index | archive | help

>Submitter-Id:	current-users
>Originator:	Sean Farley
>Organization:	
>Confidential:	no 
>Synopsis:	[PATCH] www/mozilla: Work-around for Mozilla bug 242123
>Severity:	non-critical
>Priority:	low
>Category:	ports 
>Class:		sw-bug
>Release:	FreeBSD 4.10-STABLE i386
>Environment:
System: FreeBSD thor.farley.org 4.10-STABLE FreeBSD 4.10-STABLE #1: Mon Aug  2 16:14:48 CDT
>Description:
Running the mozilla script with a URL lacking the closing slash can
aggravate Mozilla bug 242123
(http://bugzilla.mozilla.org/show_bug.cgi?id=242123).

Changes:
1. Removed the space after the comma for the openURL() REMOTE_COMMAND.
2. Replaced mixed tab/spaces with tabs.

Mozilla 1.8 should have this fixed.

Port maintainer (gnome@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.50
>How-To-Repeat:
>Fix:

--- mozilla-1.7.1,2.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/www/mozilla.orig/files/mozilla.sh /usr/ports/www/mozilla/files/mozilla.sh
--- /usr/ports/www/mozilla.orig/files/mozilla.sh	Sat Oct 11 15:30:54 2003
+++ /usr/ports/www/mozilla/files/mozilla.sh	Mon Aug  2 23:07:17 2004
@@ -8,19 +8,19 @@
 
 case $1 in
     -browser)
-    	REMOTE_COMMAND="xfeDoCommand (openBrowser)"
+	REMOTE_COMMAND="xfeDoCommand (openBrowser)"
 	;;
     -mail)
-    	REMOTE_COMMAND="xfeDoCommand (openInbox)"
+	REMOTE_COMMAND="xfeDoCommand (openInbox)"
 	;;
     -compose)
-    	REMOTE_COMMAND="xfeDoCommand (composeMessage)"
+	REMOTE_COMMAND="xfeDoCommand (composeMessage)"
 	;;
     -*)
-    	exec ./$MOZILLA_EXEC "$@"
+	exec ./$MOZILLA_EXEC "$@"
 	;;
     *)
-    	REMOTE_COMMAND="openURL($@, $LOCATION)"
+	REMOTE_COMMAND="openURL($@,$LOCATION)"
 	;;
 esac
     
@@ -30,4 +30,3 @@
 
 # no existing process
 exec ./$MOZILLA_EXEC "$@"
-
--- mozilla-1.7.1,2.patch ends here ---



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200408030435.i734ZDTU030009>