ports/136062: A patch to fix the patch file of xpi-foxyproxy about the function getDefaultPath

Sutra Zhou zhoushuqun at gmail.com
Fri Jun 26 08:10:01 UTC 2009


>Number:         136062
>Category:       ports
>Synopsis:       A patch to fix the patch file of xpi-foxyproxy about the function getDefaultPath
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 26 08:10:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Sutra Zhou
>Release:        
>Organization:
>Environment:
>Description:
When this port update to 2.9 (http://www.freebsd.org/cgi/cvsweb.cgi/ports/www/xpi-foxyproxy/files/patch-components_foxyproxy.js.diff?r1=text&tr1=1.1&r2=text&tr2=1.2), the patch file introduce an error as the line "return f;", this line should be deleted.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ruN /usr/ports/www/xpi-foxyproxy.old/Makefile /usr/ports/www/xpi-foxyproxy/Makefile
--- /usr/ports/www/xpi-foxyproxy.old/Makefile	2009-06-26 15:39:33.000000000 +0800
+++ /usr/ports/www/xpi-foxyproxy/Makefile	2009-06-26 15:44:22.000000000 +0800
@@ -7,6 +7,7 @@
 
 PORTNAME=	foxyproxy
 PORTVERSION=	2.9
+PORTREVISION=	1
 DISTVERSIONSUFFIX=	-fx+sm+tb
 CATEGORIES=	www
 
diff -ruN /usr/ports/www/xpi-foxyproxy.old/files/patch-components_foxyproxy.js /usr/ports/www/xpi-foxyproxy/files/patch-components_foxyproxy.js
--- /usr/ports/www/xpi-foxyproxy.old/files/patch-components_foxyproxy.js	2009-06-26 15:39:33.000000000 +0800
+++ /usr/ports/www/xpi-foxyproxy/files/patch-components_foxyproxy.js	2009-06-26 15:53:57.000000000 +0800
@@ -3,7 +3,7 @@
 
 --- components/foxyproxy.js.orig
 +++ components/foxyproxy.js
-@@ -424,15 +424,13 @@
+@@ -424,15 +424,12 @@
    },
  
    getDefaultPath : function() {
@@ -14,7 +14,7 @@
 +    var file = CC["@mozilla.org/file/local;1"].createInstance(CI.nsILocalFile);
 +    var dir = CC["@mozilla.org/file/directory_service;1"].getService(CI.nsIProperties).get("ProfD", CI.nsILocalFile);
      // dump("settings file: " + f.path + "\n");
-     return f;
+-    return f;
 -    // file.initWithPath(dir.path);
 -    // file.appendRelativePath("foxyproxy.xml");
 -    // return file;


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



More information about the freebsd-ports-bugs mailing list