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

Sean Farley sean-freebsd at farley.org
Tue Aug 3 04:40:29 UTC 2004


>Number:         69937
>Category:       ports
>Synopsis:       [PATCH] www/mozilla: Work-around for Mozilla bug 242123
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 03 04:40:24 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Sean Farley
>Release:        FreeBSD 4.10-STABLE i386
>Organization:
>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 ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list