[PATCH] www/mozilla: Work-around for Mozilla bug 242123

Sean Farley sean-freebsd at farley.org
Mon Aug 2 21:35:16 PDT 2004


>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 at 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 ---



More information about the freebsd-gnome mailing list