aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2003-04-08 11:13:08 +0800
committermarcus <marcus@FreeBSD.org>2003-04-08 11:13:08 +0800
commit8802d20a39403eb335aa86fe80e11c674c3264a7 (patch)
treeb268ebb4ab69ce0e5e7ec8ad105a7ea1d12842ee /www
parentbcd4bb02eef65ef45a94b7466d18550a7c716b89 (diff)
downloadfreebsd-ports-gnome-8802d20a39403eb335aa86fe80e11c674c3264a7.tar.gz
freebsd-ports-gnome-8802d20a39403eb335aa86fe80e11c674c3264a7.tar.zst
freebsd-ports-gnome-8802d20a39403eb335aa86fe80e11c674c3264a7.zip
Correct the MOZILLA_SNAPSHOT version in another patch.
Diffstat (limited to 'www')
-rw-r--r--www/galeon2/files/patch-mozilla_mozilla-embed-shell.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/www/galeon2/files/patch-mozilla_mozilla-embed-shell.cpp b/www/galeon2/files/patch-mozilla_mozilla-embed-shell.cpp
index 41293a28e8a3..5a71f547df8e 100644
--- a/www/galeon2/files/patch-mozilla_mozilla-embed-shell.cpp
+++ b/www/galeon2/files/patch-mozilla_mozilla-embed-shell.cpp
@@ -28,7 +28,7 @@
- rv = permissionManager->Add (nsDependentCString(url),
- allow ? PR_TRUE : PR_FALSE, type);
-+#if MOZILLA_SNAPSHOT >= 6
++#if MOZILLA_SNAPSHOT > 6
+ nsCOMPtr<nsIURI> uri;
+ rv = NS_NewURI(getter_AddRefs(uri), url);
+ if (NS_FAILED(rv) || !uri) return G_FAILED;
@@ -62,7 +62,7 @@
+ result = permissionEnumerator->GetNext(getter_AddRefs(nsPermission));
if (NS_FAILED(result)) return G_FAILED;
-+#if MOZILLA_SNAPSHOT >= 6
++#if MOZILLA_SNAPSHOT > 6
+ PRUint32 cType;
+#else
PRInt32 cType;
@@ -79,7 +79,7 @@
- b->domain = g_strdup (tmp);
- nsMemory::Free (tmp);
+ PermissionInfo *b = g_new0(PermissionInfo, 1);
-+#if MOZILLA_SNAPSHOT >= 6
++#if MOZILLA_SNAPSHOT > 6
+ nsCString host;
+ nsPermission->GetHost(host);
+ b->domain = g_strdup(host.get());