View | Details | Raw Unified | Return to bug 136062 | Differences between
and this patch

Collapse All | Expand All

(-)/usr/ports/www/xpi-foxyproxy/Makefile (+1 lines)
Lines 7-12 Link Here
7
7
8
PORTNAME=	foxyproxy
8
PORTNAME=	foxyproxy
9
PORTVERSION=	2.9
9
PORTVERSION=	2.9
10
PORTREVISION=	1
10
DISTVERSIONSUFFIX=	-fx+sm+tb
11
DISTVERSIONSUFFIX=	-fx+sm+tb
11
CATEGORIES=	www
12
CATEGORIES=	www
12
13
(-)/usr/ports/www/xpi-foxyproxy/files/patch-components_foxyproxy.js (-2 / +2 lines)
Lines 3-9 Link Here
3
3
4
--- components/foxyproxy.js.orig
4
--- components/foxyproxy.js.orig
5
+++ components/foxyproxy.js
5
+++ components/foxyproxy.js
6
@@ -424,15 +424,13 @@
6
@@ -424,15 +424,12 @@
7
   },
7
   },
8
 
8
 
9
   getDefaultPath : function() {
9
   getDefaultPath : function() {
Lines 14-20 Link Here
14
+    var file = CC["@mozilla.org/file/local;1"].createInstance(CI.nsILocalFile);
14
+    var file = CC["@mozilla.org/file/local;1"].createInstance(CI.nsILocalFile);
15
+    var dir = CC["@mozilla.org/file/directory_service;1"].getService(CI.nsIProperties).get("ProfD", CI.nsILocalFile);
15
+    var dir = CC["@mozilla.org/file/directory_service;1"].getService(CI.nsIProperties).get("ProfD", CI.nsILocalFile);
16
     // dump("settings file: " + f.path + "\n");
16
     // dump("settings file: " + f.path + "\n");
17
     return f;
17
-    return f;
18
-    // file.initWithPath(dir.path);
18
-    // file.initWithPath(dir.path);
19
-    // file.appendRelativePath("foxyproxy.xml");
19
-    // file.appendRelativePath("foxyproxy.xml");
20
-    // return file;
20
-    // return file;

Return to bug 136062