aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2006-02-20 06:23:03 +0800
committermarcus <marcus@FreeBSD.org>2006-02-20 06:23:03 +0800
commitcfaa93c4182f3e0661853113d0d5475876b09a3b (patch)
tree0d007b01a7cacc6556d2da663ae5b44daf86a152 /www
parent4f7d5f6ac9fe14215dac6343d09bf3d8df3c6476 (diff)
downloadfreebsd-ports-gnome-cfaa93c4182f3e0661853113d0d5475876b09a3b.tar.gz
freebsd-ports-gnome-cfaa93c4182f3e0661853113d0d5475876b09a3b.tar.zst
freebsd-ports-gnome-cfaa93c4182f3e0661853113d0d5475876b09a3b.zip
Fix a problem where Firefox creates its ~/.mozilla directory using stack
garbage. PR: 92899 Submitted by: truckman
Diffstat (limited to 'www')
-rw-r--r--www/firefox-esr/Makefile1
-rw-r--r--www/firefox-esr/files/patch-toolkit_xre_nsXREDirProvider.cpp19
-rw-r--r--www/firefox/Makefile1
-rw-r--r--www/firefox/files/patch-toolkit_xre_nsXREDirProvider.cpp19
-rw-r--r--www/firefox10/Makefile1
-rw-r--r--www/firefox10/files/patch-toolkit_xre_nsXREDirProvider.cpp19
-rw-r--r--www/firefox15/Makefile1
-rw-r--r--www/firefox15/files/patch-toolkit_xre_nsXREDirProvider.cpp19
-rw-r--r--www/firefox36/Makefile1
-rw-r--r--www/firefox36/files/patch-toolkit_xre_nsXREDirProvider.cpp19
-rw-r--r--www/flock/Makefile1
-rw-r--r--www/flock/files/patch-toolkit_xre_nsXREDirProvider.cpp19
12 files changed, 120 insertions, 0 deletions
diff --git a/www/firefox-esr/Makefile b/www/firefox-esr/Makefile
index a1487e7a1c1b..27ae5726bcb7 100644
--- a/www/firefox-esr/Makefile
+++ b/www/firefox-esr/Makefile
@@ -8,6 +8,7 @@
PORTNAME= firefox
DISTVERSION= 1.5.0.1
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_MOZILLA}
diff --git a/www/firefox-esr/files/patch-toolkit_xre_nsXREDirProvider.cpp b/www/firefox-esr/files/patch-toolkit_xre_nsXREDirProvider.cpp
new file mode 100644
index 000000000000..0c5a07ab210d
--- /dev/null
+++ b/www/firefox-esr/files/patch-toolkit_xre_nsXREDirProvider.cpp
@@ -0,0 +1,19 @@
+--- toolkit/xre/nsXREDirProvider.cpp.orig Tue Oct 4 11:46:26 2005
++++ toolkit/xre/nsXREDirProvider.cpp Sun Feb 5 23:54:31 2006
+@@ -820,6 +820,7 @@
+
+ char* appNameFolder = nsnull;
+ char profileFolderName[MAXPATHLEN] = ".";
++ char temp[MAXPATHLEN];
+
+ // Offset 1 for the outermost folder to make it hidden (i.e. using the ".")
+ char* writing = profileFolderName + 1;
+@@ -829,7 +830,6 @@
+ rv = localDir->AppendNative(nsDependentCString(profileFolderName));
+ NS_ENSURE_SUCCESS(rv, rv);
+
+- char temp[MAXPATHLEN];
+ GetProfileFolderName(temp, gAppData->name);
+ appNameFolder = temp;
+ }
+
diff --git a/www/firefox/Makefile b/www/firefox/Makefile
index a1487e7a1c1b..27ae5726bcb7 100644
--- a/www/firefox/Makefile
+++ b/www/firefox/Makefile
@@ -8,6 +8,7 @@
PORTNAME= firefox
DISTVERSION= 1.5.0.1
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_MOZILLA}
diff --git a/www/firefox/files/patch-toolkit_xre_nsXREDirProvider.cpp b/www/firefox/files/patch-toolkit_xre_nsXREDirProvider.cpp
new file mode 100644
index 000000000000..0c5a07ab210d
--- /dev/null
+++ b/www/firefox/files/patch-toolkit_xre_nsXREDirProvider.cpp
@@ -0,0 +1,19 @@
+--- toolkit/xre/nsXREDirProvider.cpp.orig Tue Oct 4 11:46:26 2005
++++ toolkit/xre/nsXREDirProvider.cpp Sun Feb 5 23:54:31 2006
+@@ -820,6 +820,7 @@
+
+ char* appNameFolder = nsnull;
+ char profileFolderName[MAXPATHLEN] = ".";
++ char temp[MAXPATHLEN];
+
+ // Offset 1 for the outermost folder to make it hidden (i.e. using the ".")
+ char* writing = profileFolderName + 1;
+@@ -829,7 +830,6 @@
+ rv = localDir->AppendNative(nsDependentCString(profileFolderName));
+ NS_ENSURE_SUCCESS(rv, rv);
+
+- char temp[MAXPATHLEN];
+ GetProfileFolderName(temp, gAppData->name);
+ appNameFolder = temp;
+ }
+
diff --git a/www/firefox10/Makefile b/www/firefox10/Makefile
index a1487e7a1c1b..27ae5726bcb7 100644
--- a/www/firefox10/Makefile
+++ b/www/firefox10/Makefile
@@ -8,6 +8,7 @@
PORTNAME= firefox
DISTVERSION= 1.5.0.1
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_MOZILLA}
diff --git a/www/firefox10/files/patch-toolkit_xre_nsXREDirProvider.cpp b/www/firefox10/files/patch-toolkit_xre_nsXREDirProvider.cpp
new file mode 100644
index 000000000000..0c5a07ab210d
--- /dev/null
+++ b/www/firefox10/files/patch-toolkit_xre_nsXREDirProvider.cpp
@@ -0,0 +1,19 @@
+--- toolkit/xre/nsXREDirProvider.cpp.orig Tue Oct 4 11:46:26 2005
++++ toolkit/xre/nsXREDirProvider.cpp Sun Feb 5 23:54:31 2006
+@@ -820,6 +820,7 @@
+
+ char* appNameFolder = nsnull;
+ char profileFolderName[MAXPATHLEN] = ".";
++ char temp[MAXPATHLEN];
+
+ // Offset 1 for the outermost folder to make it hidden (i.e. using the ".")
+ char* writing = profileFolderName + 1;
+@@ -829,7 +830,6 @@
+ rv = localDir->AppendNative(nsDependentCString(profileFolderName));
+ NS_ENSURE_SUCCESS(rv, rv);
+
+- char temp[MAXPATHLEN];
+ GetProfileFolderName(temp, gAppData->name);
+ appNameFolder = temp;
+ }
+
diff --git a/www/firefox15/Makefile b/www/firefox15/Makefile
index a1487e7a1c1b..27ae5726bcb7 100644
--- a/www/firefox15/Makefile
+++ b/www/firefox15/Makefile
@@ -8,6 +8,7 @@
PORTNAME= firefox
DISTVERSION= 1.5.0.1
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_MOZILLA}
diff --git a/www/firefox15/files/patch-toolkit_xre_nsXREDirProvider.cpp b/www/firefox15/files/patch-toolkit_xre_nsXREDirProvider.cpp
new file mode 100644
index 000000000000..0c5a07ab210d
--- /dev/null
+++ b/www/firefox15/files/patch-toolkit_xre_nsXREDirProvider.cpp
@@ -0,0 +1,19 @@
+--- toolkit/xre/nsXREDirProvider.cpp.orig Tue Oct 4 11:46:26 2005
++++ toolkit/xre/nsXREDirProvider.cpp Sun Feb 5 23:54:31 2006
+@@ -820,6 +820,7 @@
+
+ char* appNameFolder = nsnull;
+ char profileFolderName[MAXPATHLEN] = ".";
++ char temp[MAXPATHLEN];
+
+ // Offset 1 for the outermost folder to make it hidden (i.e. using the ".")
+ char* writing = profileFolderName + 1;
+@@ -829,7 +830,6 @@
+ rv = localDir->AppendNative(nsDependentCString(profileFolderName));
+ NS_ENSURE_SUCCESS(rv, rv);
+
+- char temp[MAXPATHLEN];
+ GetProfileFolderName(temp, gAppData->name);
+ appNameFolder = temp;
+ }
+
diff --git a/www/firefox36/Makefile b/www/firefox36/Makefile
index a1487e7a1c1b..27ae5726bcb7 100644
--- a/www/firefox36/Makefile
+++ b/www/firefox36/Makefile
@@ -8,6 +8,7 @@
PORTNAME= firefox
DISTVERSION= 1.5.0.1
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_MOZILLA}
diff --git a/www/firefox36/files/patch-toolkit_xre_nsXREDirProvider.cpp b/www/firefox36/files/patch-toolkit_xre_nsXREDirProvider.cpp
new file mode 100644
index 000000000000..0c5a07ab210d
--- /dev/null
+++ b/www/firefox36/files/patch-toolkit_xre_nsXREDirProvider.cpp
@@ -0,0 +1,19 @@
+--- toolkit/xre/nsXREDirProvider.cpp.orig Tue Oct 4 11:46:26 2005
++++ toolkit/xre/nsXREDirProvider.cpp Sun Feb 5 23:54:31 2006
+@@ -820,6 +820,7 @@
+
+ char* appNameFolder = nsnull;
+ char profileFolderName[MAXPATHLEN] = ".";
++ char temp[MAXPATHLEN];
+
+ // Offset 1 for the outermost folder to make it hidden (i.e. using the ".")
+ char* writing = profileFolderName + 1;
+@@ -829,7 +830,6 @@
+ rv = localDir->AppendNative(nsDependentCString(profileFolderName));
+ NS_ENSURE_SUCCESS(rv, rv);
+
+- char temp[MAXPATHLEN];
+ GetProfileFolderName(temp, gAppData->name);
+ appNameFolder = temp;
+ }
+
diff --git a/www/flock/Makefile b/www/flock/Makefile
index a1487e7a1c1b..27ae5726bcb7 100644
--- a/www/flock/Makefile
+++ b/www/flock/Makefile
@@ -8,6 +8,7 @@
PORTNAME= firefox
DISTVERSION= 1.5.0.1
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_MOZILLA}
diff --git a/www/flock/files/patch-toolkit_xre_nsXREDirProvider.cpp b/www/flock/files/patch-toolkit_xre_nsXREDirProvider.cpp
new file mode 100644
index 000000000000..0c5a07ab210d
--- /dev/null
+++ b/www/flock/files/patch-toolkit_xre_nsXREDirProvider.cpp
@@ -0,0 +1,19 @@
+--- toolkit/xre/nsXREDirProvider.cpp.orig Tue Oct 4 11:46:26 2005
++++ toolkit/xre/nsXREDirProvider.cpp Sun Feb 5 23:54:31 2006
+@@ -820,6 +820,7 @@
+
+ char* appNameFolder = nsnull;
+ char profileFolderName[MAXPATHLEN] = ".";
++ char temp[MAXPATHLEN];
+
+ // Offset 1 for the outermost folder to make it hidden (i.e. using the ".")
+ char* writing = profileFolderName + 1;
+@@ -829,7 +830,6 @@
+ rv = localDir->AppendNative(nsDependentCString(profileFolderName));
+ NS_ENSURE_SUCCESS(rv, rv);
+
+- char temp[MAXPATHLEN];
+ GetProfileFolderName(temp, gAppData->name);
+ appNameFolder = temp;
+ }
+