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:    ports/69937: [PATCH] www/mozilla: Work-around for Mozilla bug 242123
Message-ID:  <200408030435.i734ZDTU030009@thor.farley.org>
Resent-Message-ID: <200408030440.i734eOuf054205@freefall.freebsd.org>

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

>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@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:



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